Accessing Management Information with System.Management(Chapter 1)

简介:
                                        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,如需转载请自行联系原作者

相关文章
|
8月前
Cannot find a valid license key for ISIS Professional on this computer . this license Manager report
Cannot find a valid license key for ISIS Professional on this computer . this license Manager report
113 2
|
安全
Information Systems Security Assessment – Open information security framework
The Information Systems Security Assessment Framework (ISSAF) seeks to integrate the following m...
1007 0
|
安全
Network and Distributed System Security (NDSS) Symposium 2017
https://www.youtube.com/playlist?list=PLfUWWM-POgQsZ9YCXLaCHIvn_H6-F4esJ ...
931 0