Thursday, September 8, 2011

Getting the Windows system information

In case you want to find out the Windows system information such as printer configuration or network configuration, you may have to learn the WMI (Windows Management Instrumentation).

.Net comes with System.Management.ManagementObjectSearcher class which helps in digging the system information.

To find out more about WMI, visit the following URL:

http://wilsonmar.com/1wmiwbem.htm

To download the tool on generating C# code, visit the following URL:

http://www.microsoft.com/download/en/details.aspx?DisplayLang=en&id=8572

To see the example on how to use the WMI tool, visit the following URL:

http://www.c-sharpcorner.com/UploadFile/scottlysle/UsingWMI04052007222505PM/UsingWMI.aspx

No comments:

Post a Comment