Export (0) Print
Expand All
Expand Minimize
1 out of 9 rated this helpful - Rate this topic

System.Management Namespace

Provides access to a rich set of management information and management events about the system, devices, and applications instrumented to the Windows Management Instrumentation (WMI) infrastructure. Applications and services can query for interesting management information (such as how much free space is left on the disk, what is the current CPU utilization, which database a certain application is connected to, and much more), using classes derived from ManagementObjectSearcher and ManagementQuery, or subscribe to a variety of management events using the ManagementEventWatcher class. The accessible data can be from both managed and unmanaged components in the distributed environment.

  Class Description
Public class CompletedEventArgs Holds event data for the Completed event.
Public class ConnectionOptions Specifies all settings required to make a WMI connection.
Public class DeleteOptions Specifies options for deleting a management object.
Public class EnumerationOptions Provides a base class for query and enumeration-related options objects.
Public class EventArrivedEventArgs Holds event data for the EventArrived event.
Public class EventQuery Represents a WMI event query.
Public class EventWatcherOptions Specifies options for management event watching.
Public class InvokeMethodOptions Specifies options for invoking a management method.
Public class ManagementBaseObject Contains the basic elements of a management object. It serves as a base class to more specific management object classes.
Public class ManagementClass Represents a Common Information Model (CIM) management class. A management class is a WMI class such as Win32_LogicalDisk, which can represent a disk drive, and Win32_Process, which represents a process such as Notepad.exe. The members of this class enable you to access WMI data using a specific WMI class path. For more information, see "Win32 Classes" in the Windows Management Instrumentation documentation in the MSDN Library at http://msdn.microsoft.com/library.
Public class ManagementDateTimeConverter Provides methods to convert DMTF datetime and time intervals to CLR-compliant DateTime and TimeSpan format and vice versa.
Public class ManagementEventArgs Represents the virtual base class to hold event data for WMI events.
Public class ManagementEventWatcher Subscribes to temporary event notifications based on a specified event query.
Public class ManagementException Represents management exceptions.
Public class ManagementNamedValueCollection Represents a collection of named values suitable for use as context information to WMI operations. The names are case-insensitive.
Public class ManagementObject Represents a WMI instance.
Public class ManagementObjectCollection Represents different collections of management objects retrieved through WMI. The objects in this collection are of ManagementBaseObject-derived types, including ManagementObject and ManagementClass. The collection can be the result of a WMI query executed through a ManagementObjectSearcher, or an enumeration of management objects of a specified type retrieved through a ManagementClass representing that type. In addition, this can be a collection of management objects related in a specified way to a specific management object - in this case the collection would be retrieved through a method such as GetRelated(). The collection can be walked using the ManagementObjectCollection.ManagementObjectEnumerator and objects in it can be inspected or manipulated for various management tasks.
Public class ManagementObjectCollection.ManagementObjectEnumerator Represents the enumerator on the collection.
Public class ManagementObjectSearcher Retrieves a collection of management objects based on a specified query. This class is one of the more commonly used entry points to retrieving management information. For example, it can be used to enumerate all disk drives, network adapters, processes and many more management objects on a system, or to query for all network connections that are up, services that are paused, and so on. When instantiated, an instance of this class takes as input a WMI query represented in an ObjectQuery or its derivatives, and optionally a ManagementScope representing the WMI namespace to execute the query in. It can also take additional advanced options in an EnumerationOptions. When the Get() method on this object is invoked, the ManagementObjectSearcher executes the given query in the specified scope and returns a collection of management objects that match the query in a ManagementObjectCollection.
Public class ManagementOperationObserver Manages asynchronous operations and handles management information and events received asynchronously.
Public class ManagementOptions Provides an abstract base class for all options objects.
Public class ManagementPath Provides a wrapper for parsing and building paths to WMI objects.
Public class ManagementQuery Provides an abstract base class for all management query objects.
Public class ManagementScope Represents a scope (namespace) for management operations.
Public class MethodData Contains information about a WMI method.
Public class MethodDataCollection Represents the set of methods available in the collection.
Public class MethodDataCollection.MethodDataEnumerator Represents the enumerator for MethodData objects in the MethodDataCollection.
Public class ObjectGetOptions Specifies options for getting a management object.
Public class ObjectPutEventArgs Holds event data for the ObjectPut event.
Public class ObjectQuery Represents a management query that returns instances or classes.
Public class ObjectReadyEventArgs Holds event data for the ObjectReady event.
Public class ProgressEventArgs Holds event data for the Progress event.
Public class PropertyData Represents information about a WMI property.
Public class PropertyDataCollection Represents the set of properties of a WMI object.
Public class PropertyDataCollection.PropertyDataEnumerator Represents the enumerator for PropertyData objects in the PropertyDataCollection.
Public class PutOptions Specifies options for committing management object changes.
Public class QualifierData Contains information about a WMI qualifier.
Public class QualifierDataCollection Represents a collection of QualifierData objects.
Public class QualifierDataCollection.QualifierDataEnumerator Represents the enumerator for QualifierData objects in the QualifierDataCollection.
Public class RelatedObjectQuery Represents a WQL ASSOCIATORS OF data query. It can be used for both instances and schema queries.
Public class RelationshipQuery Represents a WQL REFERENCES OF data query.
Public class SelectQuery Represents a WQL SELECT data query.
Public class StoppedEventArgs Holds event data for the Stopped event.
Public class WqlEventQuery Represents a WMI event query in WQL format.
Public class WqlObjectQuery Represents a WMI data query in WQL format.
  Delegate Description
Public delegate CompletedEventHandler Represents the method that will handle the Completed event.
Public delegate EventArrivedEventHandler Represents the method that will handle the EventArrived event.
Public delegate ObjectPutEventHandler Represents the method that will handle the ObjectPut event.
Public delegate ObjectReadyEventHandler Represents the method that will handle the ObjectReady event.
Public delegate ProgressEventHandler Represents the method that will handle the Progress event.
Public delegate StoppedEventHandler Represents the method that will handle the Stopped event.
  Enumeration Description
Public enumeration AuthenticationLevel Describes the authentication level to be used to connect to WMI. This is used for the COM connection to WMI.
Public enumeration CimType Describes the possible CIM types for properties, qualifiers, or method parameters.
Public enumeration CodeLanguage Defines the languages supported by the code generator.
Public enumeration ComparisonSettings Describes the object comparison modes that can be used with CompareTo. Note that these values may be combined.
Public enumeration ImpersonationLevel Describes the impersonation level to be used to connect to WMI.
Public enumeration ManagementStatus Describes the enumeration of all WMI error codes that are currently defined.
Public enumeration PutType Describes the possible effects of saving an object to WMI when using Put().
Public enumeration TextFormat Describes the possible text formats that can be used with GetText.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.