您的位置:首页 > 职场人生

Accessing Management Information with System.Management(Chapter 1)

2010-05-31 15:23 316 查看
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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  职场 休闲 WMI