Enumerate all the drives including Mapped network drives on a serv

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
I want to enumerate all the Drives on the web server using ASP.NET (C#)
Writing code like this works when i use local host but when i try to access
it from another machine it does not show the network drives.
Code:
foreach (string s in arr)
{
s2=s2+s;
}

TextBox1.Text=s2;
This pulls up the drives on my system except Network Drives.

Any help is appreciated.

Thanks,
Pradeep
 
Come on man, you are with Microsoft!

Anyways forwarded your email to Bill Gates, Bummer...........
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top