×
您的位置: 首页 > 编程笔记

在Windows上生成Hardware-ID(Generating a Hardware-ID on Windows)

Windows 时间:2020-06-19  查看:1283   收藏

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


 

0% (0)
0% (0)