C
CSharper
Hi,
I need to display the directory structure of a directory in a network.
When I use the network share I do not have any problem with my
Directory.GetFiles() but when I use \\servername\c$, I am getting
security exceptions. I can understand why that error is coming. Is it
possible to popup for credentials when a user does this kind of
operations and how can I pass the credentials to the
Directory.GetFiles().
On the side note, when I use the \\servername\c$ on the windows
explorer I do not get any credentials requirement. How can I overcome
this?
Thanks.
I need to display the directory structure of a directory in a network.
When I use the network share I do not have any problem with my
Directory.GetFiles() but when I use \\servername\c$, I am getting
security exceptions. I can understand why that error is coming. Is it
possible to popup for credentials when a user does this kind of
operations and how can I pass the credentials to the
Directory.GetFiles().
On the side note, when I use the \\servername\c$ on the windows
explorer I do not get any credentials requirement. How can I overcome
this?
Thanks.