WMI Provider Extensions Sample Code
The following samples demonstrate how to create WMI providers by using the WMI.NET provider extensions framework. For more sample code, see topics in the System.Management.Instrumentation reference.
Sample | Description |
---|---|
A minimal sample to get you started with decoupled providers. Decoupled providers are hosted by your application and only work when your application is running. |
|
A minimal sample to get you started with in-process providers. In-process providers are hosted by the WMI service and are always available when WMI is working properly. |
|
A sample that demonstrates how to implement a decoupled provider in a Windows Forms application. |
|
A sample that recreates some of the functionality of the Win32_Process WMI class. The sample implements an in-process provider and essentially wraps some of the functionality of the System.Diagnostics.Process class. |
See Also
Reference
System.Management.Instrumentation
Concepts
Send comments about this topic to Microsoft.
Copyright © 2007 by Microsoft Corporation. All rights reserved.