如何在Windows中使用C ++查找硬盘序列号 [英] How to find hard drive serial number using C++ in windows
本文介绍了如何在Windows中使用C ++查找硬盘序列号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我实际上需要查找SD卡序列号,这样我就可以区分具有唯一密钥的不同SD卡。请建议...... !!!
I actually need to find out SD card serial number so that I could distinguish between different SD cards with a unique key. Please suggest...!!!
推荐答案
在Windows下你可能想尝试:
GetVolumeInformation
http://msdn.microsoft.com/en-us/library/windows/desktop/aa364993%28v=vs.85%29.aspx [ ^ ]
Under Windows you might want to try:
GetVolumeInformation
http://msdn.microsoft.com/en-us/library/windows/desktop/aa364993%28v=vs.85%29.aspx[^]
您可能有兴趣知道并非所有设备都报告序列号。卷ID也很容易复制或更改。
You may be interested to know that not all devices report serial numbers. The volume ID is also easily duplicated or changed.
这篇关于如何在Windows中使用C ++查找硬盘序列号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文