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” (Buy at Amazon UK) (Buy at Amazon US) covers a much wider scope of WMI, and explains how to
implement WMI in C# or VB.NET