Sunday, October 4, 2009

Windows Management Instrumentation Win32 Classes Methods and Properties

I was looking for a quick reference for Windows Management Instrumentation, but I can't find a good one. Instead, I found a script that lists all the Win32 Classes of WMI. There are other classes aside from Win32, but that's the only one I needed.

Windows Management Instrumentation (WMI) is the infrastructure for management data and operations on Windows-based operating systems. You can write WMI scripts or applications to automate administrative tasks on remote computers but WMI also supplies management data to other parts of the operating system and products, for example System Center Operations Manager, formerly Microsoft Operations Manager (MOM), or Windows Remote Management (WinRM). For more details click here.

I am developing a library that will handle License and Registration for a program and I needed to get serial numbers of the devices such as the BIOS, CPU, and the mobo. There is already a .NET class for this floating around the Internet, but I am designing a counterpart for none-.NET applications. However I was wondering what classes does a device belongs to, and what exactly are their names. So I ran the script that I found and it generated this listing, click here. I hope this will be of use to anyone looking for the same thing.