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
Dim dvr As New DriveInfo("c:")
Can any
help.
Thanks
Sreenath
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
Dim dvr As New DriveInfo("c:")
Can any
help.
Thanks
Sreenath
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sreenath GPosted Dec 5, 2011, 4:22 AM
http://forums.asp.net/t/1744922.aspx/1?How+to+get+drive+space+of+any+machine+in+ASP+Net
Anuja PawarPosted Dec 2, 2011, 1:06 AM
http://bytes.com/topic/net/answers/418820-space-available-remote-computer
Sam HobbsPosted Dec 2, 2011, 12:33 AM
Sreenath GPosted Dec 2, 2011, 12:19 AM
ConnectionOptions options = new ConnectionOptions();
ManagementScope scope = new ManagementScope("\\\\localhost\\root\\cimv2",
options);
scope.Connect();
ObjectQuery query = new ObjectQuery("SELECT * FROM Win32_OperatingSystem");
SelectQuery query1 = new SelectQuery("Select * from Win32_LogicalDisk");
I am getting following error while conneting to any scope.Connect();
server..like in the place of localhost I placed my server name...
Sam HobbsPosted Dec 1, 2011, 2:05 PM
Sreenath GPosted Dec 1, 2011, 1:22 AM
Actually I havent got any solution yet actually, currently I am checking with System.Management namespace.
I will post answer once it is solved..but even with that I am getting this issue...
The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
Anuja PawarPosted Dec 1, 2011, 12:51 AM
Here i go again
http://stackoverflow.com/questions/1412395/how-can-i-check-for-available-disk-space
Sam HobbsPosted Nov 30, 2011, 12:37 PM
Anuja, I think that your link for stackoverflow is actuallly the same page as for your other link so I don't see the link to the stackoverflow thread.
The important thing is that it is not as easy as we would like it to be and it might be easier to write an application that does not execute in ASP.
Anuja PawarPosted Nov 30, 2011, 9:30 AM
http://stackoverflow.com/questions/1412395/how-can-i-check-for-available-disk-space
http://forums.asp.net/t/1054567.aspx