471,348 Members | 1,330 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,348 software developers and data experts.

Re: displaying directory structure

On Apr 11, 10:35*am, "Peter Bromberg [C# MVP]"
\\servername\C$ is the Administrative share. When you do this from Windows
Explorer, it works because you must be an Administrator. It doesn't work for
your application, most likely, because it isn't running under an account
identity that is an Administrator.

--Peter"CSharper" <cshar...@gmx.comwrote in message

news:4a**********************************@x41g2000 hsb.googlegroups.com...>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
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
Jun 27 '08 #1
0 828

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by soni29 | last post: by
3 posts views Thread by vinayak | last post: by
4 posts views Thread by Elmo Watson | last post: by
4 posts views Thread by pmud | last post: by
10 posts views Thread by Alan Searle | last post: by
3 posts views Thread by BW | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.