G
Guest
Hello
I am fairly new to .NET Development. I need to query folders within a
network drive and return some metadata related to the directories.
For instance, I might have the following path: \\MyServer\Tech
I would want to get the size and name of all the folders inside this folder.
I tried using a simple DirectoryInfo object, but I am getting
AccessDeniedException. I know there has to be a better way of doing this
using Impersonation.
Can someone please help?
Hector
I am fairly new to .NET Development. I need to query folders within a
network drive and return some metadata related to the directories.
For instance, I might have the following path: \\MyServer\Tech
I would want to get the size and name of all the folders inside this folder.
I tried using a simple DirectoryInfo object, but I am getting
AccessDeniedException. I know there has to be a better way of doing this
using Impersonation.
Can someone please help?
Hector