You need to retrieve this info via PerformanceCounter class.
e.g.
PerformanceCounterCategory cat = new PerformanceCounterCategory("W3SVC_W3WP", "MyServer_IIS7");
And to collect performance counters of a remote machine. probably below link can help you out.
No comments:
Post a Comment