Tag Archives: operating system info

Use WMI to get operating system information in C#

When the program starts, it executes the WMI query SELECT * FROM Win32_OperatingSystem. It loops through the results and calls subroutine GetValue for each of the many system parameters that should be available. The following code shows just a couple … Continue reading

Posted in system, WMI | Tagged , , , , , , , , , , , , , , , | 1 Comment