Also - see the following below are links to WMI info for dotNET.
http://msdn.microsoft.com/library/d...en-us/smssdk03/hh/sms/usingsms_csharpNode.asp
SMS and the .Net Managment Classes
The .NET management classes (System.Managment) provide managed code access to WMI. As users of WMI this enables SMS 2003, or SMS 2.0, to be accessed from any language capable of using the .NET framework. For example, C#, C++ and Visual Basic .NET.
The .NET Management classes clean up a lot of the idiosyncrasies of the WMI object model to present its own, consistent, object oriented, model. The basic WMI tasks of WMI connection, object enumeration, method execution, object deletion, object retrieval and event capture can all be achieved through the .NET Management classes.
This section present samples for all these tasks. There is however several different .NET Management classes for manipulating WMI and you should consult the Platform SDK for complete information. The samples are presented in C# but will readily translate to other .NET languages.
Further information on the .NET Management classes can be found on MSDN at Managing Applications Using WMI.
This section documents the following tasks:
a.. Connecting to WMI
b.. Retrieving a WMI Object
c.. Enumerating WMI Objects
d.. Creating a WMI Object
e.. Deleting a WMI Object
f.. Executing a WMI Class Method
g.. Capturing a WMI event