10
Answers

Server information queries in ASP.net

Ask a question
dobby

dobby

14y
2.4k
1
Hi, I am trying to make a small webpage which will tell me a thing about the server it is running on, (kind of like how the HP jetdirect Server will tell you stuff about your printer). in C# you could do a WMI query using System.Management; ManagementObject However the management object seems not to be recognised in ASP.net. to be honest, I am not entirely sure how IIS runs the web pages that it displays, does it keep them entirely contained with no access outside its own directory? The kind of things I am after are like HDD capacity, percentage used, CPU usage of the server. And eventually a remote file browser of the HDD. Are these thing possible in ASP if so how. Thanks. PS: what is the best IDE to develop ASP pages, I am currently just using VS08.

Answers (10)