Uniquely identify PC based on software/hardware

后端 未结 7 1743
甜味超标
甜味超标 2020-12-16 19:38

For a requirement to generate per-PC license keys, I need some code which will return a stable and (near) unique key on any PC. It doesn\'t have to be guaranteed un

7条回答
  •  -上瘾入骨i
    2020-12-16 20:13

    How about using the serial number of a CPU. I remember Microsoft used to provide an api for this that would run the necessary assembler code and give you back all sorts of info about the CPU including serial number. Not sure if it'd work with AMD chips or not, I think it was intel specific.

    Surely CPU Id is secure and static enough!!

提交回复
热议问题