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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Anuja PawarRank #1,404 · 1.2K reputationPosted Nov 30, 2011, 4:30 AM EST
http://stackoverflow.com/questions/1412395/how-can-i-check-for-available-disk-space
http://forums.asp.net/t/1054567.aspx
Sam HobbsRank #107 · 20.5K reputationPosted Nov 30, 2011, 7:37 AM EST
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 PawarRank #1,404 · 1.2K reputationPosted Nov 30, 2011, 7:51 PM EST
Here i go again
http://stackoverflow.com/questions/1412395/how-can-i-check-for-available-disk-space
Sreenath GRank #8,268 · 225 reputationPosted Nov 30, 2011, 8:22 PM EST
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)
Sam HobbsRank #107 · 20.5K reputationPosted Dec 1, 2011, 9:05 AM EST
Sreenath GRank #8,268 · 225 reputationPosted Dec 1, 2011, 7:19 PM EST
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 HobbsRank #107 · 20.5K reputationPosted Dec 1, 2011, 7:33 PM EST
Anuja PawarRank #1,404 · 1.2K reputationPosted Dec 1, 2011, 8:06 PM EST
http://bytes.com/topic/net/answers/418820-space-available-remote-computer
Sreenath GRank #8,268 · 225 reputationPosted Dec 4, 2011, 11:22 PM EST
http://forums.asp.net/t/1744922.aspx/1?How+to+get+drive+space+of+any+machine+in+ASP+Net