MAC 地址可篡改而且离线环境没网卡不可用。
wmic cpu get ProcessorId 获取到的 cpuid 经过测试可能只是代表批次或者型号,两台一样配置的笔记本 id 一样。
主板 id 不是所有主板都提供。
还有什么可用的方案??
1
newmind 2018-11-23 19:30:32 +08:00 via Android
没有绝对的唯一
|
2
d5 2018-11-23 19:32:24 +08:00 via iPhone
多获取几个硬件信息做哈希呗
|
3
minami 2018-11-23 19:34:17 +08:00
MachineGuid ?
|
4
dream7758522 2018-11-23 19:44:07 +08:00 via Android
硬盘 id,实在不行上狗呗
|
5
rebackhua 2018-11-23 19:45:41 +08:00 via Android
靠直接获取硬件 id,应该没有绝对的唯一。
|
6
honeycomb 2018-11-23 19:45:59 +08:00 via Android
参考一下 intelliJ 的那些 IDE 做法?
|
7
jpmorn 2018-11-23 20:19:31 +08:00
wmic csproduct get UUID
wmic DISKDRIVE get SerialNumber With our licensing tool we consider the following components MAC Address CPU (Not the serial number, but the actual CPU profile like stepping and model) System Drive Serial Number (Not Volume Label) Memory CD-ROM model & vendor Video Card model & vendor IDE Controller SCSI Controller However, rather than just hashing the components and creating a pass/fail system, we create a comparable fingerprint that can be used to determine how different two machine profiles are. If the difference rating is above a specified tolerance then ask the user to activate again. We've found over the last 8 years in use with hundreds of thousands of end-user installs that this combination works well to provide a reliably unique machine id - even for virtual machines and cloned OS installs. |
8
annoy1309 2018-11-23 20:22:59 +08:00
唯一的机器码,会导致用户更改任何硬件都导致需要重新授权
|
9
anonymous256 2018-11-23 20:41:59 +08:00 via Android
这个网页提供了程序和 dll,但是没有提供源码
http://www.soft.tahionic.com/download-hdd_id/index.html |
10
anonymous256 2018-11-23 20:45:19 +08:00 via Android
|
11
mmdsun 2018-11-23 20:48:14 +08:00 via Android
微软 msdn 文档
|