Click here to Skip to main content
15,905,914 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I want to get disc space details of machine in ASP.Net. How can I get this.
Using following I hope we can get current system drive info, but I want to get other systems drive infos
VB
Dim dvr As New DriveInfo("c:")

Can any help.

Thanks
Sreenath
Posted
Updated 4-Dec-11 22:24pm
v2
Comments
[no name] 5-Dec-11 4:25am    
EDIT: added "pre" tag

If you're talking about a client machine, you can't.

If you're talking about other machines on the server's network, those machines have to share the drives that you're interested in.
 
Share this answer
 
Comments
Sreenath Gv 30-Nov-11 7:37am    
I am talking about the servers in my network. Also, I will be impersonating Admin user in my applicaiton.
#realJSOP 30-Nov-11 11:13am    
You still need to setup the appropriate shares.
Sreenath Gv 1-Dec-11 0:21am    
Sorry, I didnt get your point.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900