Generating a Hardware-ID on Windows

前端 未结 6 1443
一个人的身影
一个人的身影 2020-12-13 07:48

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)?

6条回答
  •  执笔经年
    2020-12-13 08:41

    There are various IDs assigned to hardware that can be read and combined to form a machine key. For example, you could get the ID of the hard drive where the software is stored, the proc ID, etc. Some of these can be set more easily than others, but part of the strength is in combining multiple pieces together that are not necessarily strong enough by themselves.

提交回复
热议问题