What is the best way to generate a unique hardware ID on Microsoft Windows with C++ that is not easily spoofable (with for example changing the MAC Address)?
解决方案
Windows stores a unique Guid per machine in the registry at:
HKEY_LOCAL_MACHINESoftwareMicrosoftCryptographyMachineGuid
在Microsoft Windows上使用C ++生成不容易伪造的(例如更改MAC地址)的唯一硬件ID的最佳方法是什么?
解决方案
Windows在注册表中的每个机器上存储一个唯一的Guid:
HKEY_LOCAL_MACHINE Software \ \ MicrosoftCryptographyMachineGuid