How to Implement a Managed MI Client

A Windows Management Infrastructure (MI) client enables you to consume data exposed by an MI provider. This section presents a set of step-by-step instructions that illustrate how to perform various tasks from a managed MI client using the MI .NET API and Microsoft Visual C#.

Note  To see examples of implementing an MI client using the MI API and Microsoft Visual C++, refer to How to Implement a Native MI Client.
 

In this section

How to: Enumerate All Instances of a Class (C#)

This topic provides step-by-step instructions for enumerating the instances of a specified CIM class using the Windows Management Infrastructure (MI) .NET API. In addition to the steps, a full source code example is provided at the end of the topic.

How to: Get a Specific Instance of a Class (C#)

This topic provides step-by-step instructions for getting a specific (keyed) instance of a specified CIM class using the Windows Management Infrastructure (MI) .NET API. In addition to the steps, a full source code example is provided at the end of the topic.

How to: Query for Specific Instances of a Class (C#)

This topic provides step-by-step instructions for querying instances of a class with WQL (WMI Query Language) using the Windows Management Infrastructure (MI) .NET API. In addition to the steps, a full source code example is provided at the end of the topic.

 

 

Show: