This website has been designed for use with the FireFox browser. Please use FireFox to view this page.
WMI reference for C# and VB.NET
WMI, or Windows Management Instrumentation is an extensive framework which covers virtually every facet of a local (or remote) machine. To help you navigate through WMI, listed below are the namespaces that are available on most windows machines. Clicking on any of these namespaces will bring up a list of classes available within this namespace. Clicking on a class will bring up the MOF definition, and a list of properties with sample values. If you are looking to use any of these classes, either C# or VB.NET, you may find the book "Network Programming in .NET" of invaluable assistance.
WMI is a huge subject, so therefore it is practically impossible
to provide a comprehensive example program that covers anything. However, this
application can be used to make WQL (WMI query language) on the root\cimv2
namespace of the CIM (Common Information Model). The book “Network
programming in .NET” covers a much wider scope of WMI, and explains how to
leverage it to access the bounty of information held within this vast, yet
simple object model.