Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai ALL:

ManagementScope msMonitor = new System.Management.ManagementScope(("//" + servername + "/root/cimv2"), oConn);

The above code is to connect to \\root\\cimv2 namespace. I can query only the classes available in this namespace, Having this connection can I change the namespace alone to query other classes. Help Me through c# code
Posted
Comments
Prerak Patel 21-Feb-11 1:46am    
Why you post different question. You can edit the original question anytime.

1 solution

Hope this[^] might help you.
 
Share this answer
 

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