Is there any Unique ID or OEM (Original Equipment Manufacturer) number for Motherboard, if it is there , how can i get it thru vc++ programming? any hint or help is appreciated.
Asked
Active
Viewed 8,922 times
2 Answers
5
In this sample, replace the Win32_OperatingSystem and Name in the code to the ones you are interested in (i.e. Win32_BaseBoard and SerialNumber for motherboard serial).
This WMI FAQ might be of interest: Secrets of Windows Management Instrumentation: Troubleshooting and Tips
Mitch Wheat
- 288,400
- 42
- 452
- 532
2
As @Mitch mentioned, you can use the WMI Win32_BaseBoard class, SerialNumber property. Alternatively, for processor ID you can use the Win32_Processor class, ProcessorId property.
Kashyap Prajapati
- 392
- 2
- 13
Franci Penov
- 73,440
- 16
- 126
- 165
-
1Worth noting that on multiple processor machine Win32_Processor can return different results depending on the processor that is running – Elemental Jul 23 '10 at 09:25