|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
WMI .NET Overview
[The WMI .NET libraries are now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.]
Using the .NET Framework namespace System.Management, you can develop applications in C#, Microsoft® Visual Basic® .NET, or Microsoft J# that obtain enterprise data and automate administrative tasks using Windows Management Instrumentation (WMI). You can also develop applications that provide data to WMI classes using the System.Management.Instrumentation namespace.
This guide is a supplement to information found in the .NET Framework programming guide and provides background information about using and programming code examples for classes in the System.Management and System.Management.Instrumentation namespaces. The .NET Framework programming guide contains all reference information for the System.Management and System.Management.Instrumentation namespaces. For more information on the .NET Framework environment, see the .NET Development documentation in the MSDN Library at http://msdn.microsoft.com/library.
In This Section
Summarizes WMI .NET concepts and the use of classes in the WMI .NET namespaces.
Diagrams the architecture of the WMI .NET API and illustrates how applications created with the API interact with WMI classes and providers.
Describes the most common scenarios in which WMI .NET classes are implemented.
Provides links to code examples for various tasks using the System.Management and System.Management.Instrumentation namespaces. These examples are categorized by task type.
Provides reference documentation for the System.Management namespace, which contains classes used for accessing and manipulating WMI management information.
Provides reference documentation for the System.Management.Instrumentation namespace, which contains classes used for creating data and event providers.