A series of Article is summarized based on MSDN.
The System.Management namespace is the wmi namespace in the .Net Framework. This namespace includes the following first-level class objects that support WMI operations:
1.ManagementObject or ManagementClass: a single management object or class,respectively.
2.ManagementObjectSearcher: used to retrived a collection of managementObject or managementClass objects based on a specified query or enumeration.
3.ManagementEventWatcher: used to subscribe to event notification from WMI.
4.ManagementQuery:used as the basis for all query classes.
The coding paradigms for using the System.Management classe are natural to the .Net Framework environment and Wmi makes use of the standard base framework whenever appropriate.For example,Wmi makes extensive use of .Net collection classes and used the recommanded coding patterns,such as the "delegates" pattern for .Net asynchronous operations.Developers using the .Net Framework can thereby use their current skills to access management information about computers or applications.
本文转自lidup 51CTO博客,原文链接:http://blog.51cto.com/lidup/324229,如需转载请自行联系原作者