Hello
The DirectoryInfo object should work fine even with UNC path.
May be you are running the program itself from a Network Share. If this is
the case, either run the problem from local machine where it runs with
fulltrust or change the .Net framework policy to allow your program to run.
Best regards
Sherif
"irfan saeed" <ir***@enforsys.com> wrote in message
news:uU**************@TK2MSFTNGP09.phx.gbl...
How can i traverse through the direcotries sitting on a Network share. i
used directoryInfo object, but somehow it does not work on UNC paths.
any kind of assistance is appretiated.
Irfan