Getting motherboard unique ID number thru vc++ programming

前端 未结 2 1266
庸人自扰
庸人自扰 2021-01-03 16:55

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 apprecia

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-03 17:08

    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

提交回复
热议问题