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...........
 
Back
Top