本文介绍了通过vc++编程获取主板唯一ID号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
主板是否有任何唯一 ID 或 OEM(原始设备制造商)编号,如果有,我如何通过 vc++ 编程获得它?任何提示或帮助表示赞赏.
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.
推荐答案
在这个 sample,将代码中的Win32_OperatingSystem
和Name
替换成你感兴趣的(即Win32_BaseBoard
和 SerialNumber
为主板序列).
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).
此 WMI 常见问题可能会引起您的兴趣:Windows Management Instrumentation 的秘密:故障排除和提示
This WMI FAQ might be of interest: Secrets of Windows Management Instrumentation: Troubleshooting and Tips
这篇关于通过vc++编程获取主板唯一ID号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!