Follow the same approach as the Windows activation does. Collect the information about hardware, convert it into some sort of hash and here is your machine key.
Please don't do anything like this: all you are doing is pissing off your legitimate customers. The bad guys will find a way around whatever you do.
The last thing any customer wants is to be up at 4:00am trying to convince a piece of software they paid good money for that, yes, it is still running on the same machine as before only the network card/ disk controller/ motherboard/ etc. has been changed.
The tricky thing is to find a unique key determined by the above, with some reduncancy. I.e. to allow that either CPU(s), MAC or harddisk is replaced, but not all of them. Actually, CPU-ID is less likely to change as MAC and harddisk, so it is more suitable. It can be acchieved on virtual machines, although virtual machines can also clone these IDs. In that case you may want to combine an active license with a single internet based server which validates the activity; this way if VM's are cloned, only one can be active.
发布评论
评论(3)
遵循与 Windows 激活相同的方法。 收集有关硬件的信息,将其转换为某种哈希值,这就是您的机器密钥。
在此处查看它监视的硬件:
Windows 产品激活
Windows XP 上的 Windows 产品激活 (WPA)
Follow the same approach as the Windows activation does. Collect the information about hardware, convert it into some sort of hash and here is your machine key.
Check here what hardware it watches:
Windows Product Activation
Windows Product Activation (WPA) on Windows XP
请不要做这样的事情:你所做的只是激怒你的合法客户。 无论你做什么,坏人都会找到办法。
任何客户最不想看到的就是凌晨 4:00 起床,试图说服他们花了很多钱购买的一款软件,是的,它仍然运行在与以前相同的机器上,只有网卡/磁盘控制器/主板/等已更改。
Please don't do anything like this: all you are doing is pissing off your legitimate customers. The bad guys will find a way around whatever you do.
The last thing any customer wants is to be up at 4:00am trying to convince a piece of software they paid good money for that, yes, it is still running on the same machine as before only the network card/ disk controller/ motherboard/ etc. has been changed.
棘手的事情是找到一个由上述确定的唯一密钥,并具有一些冗余。 即允许更换 CPU、MAC 或硬盘,但不是全部。 实际上,CPU-ID 不像 MAC、硬盘那样容易改变,所以更适合。 它可以在虚拟机上实现,尽管虚拟机也可以克隆这些ID。 在这种情况下,您可能希望将有效许可证与单个基于互联网的服务器结合起来以验证活动; 这样,如果虚拟机被克隆,则只有一个可以处于活动状态。
The tricky thing is to find a unique key determined by the above, with some reduncancy. I.e. to allow that either CPU(s), MAC or harddisk is replaced, but not all of them. Actually, CPU-ID is less likely to change as MAC and harddisk, so it is more suitable. It can be acchieved on virtual machines, although virtual machines can also clone these IDs. In that case you may want to combine an active license with a single internet based server which validates the activity; this way if VM's are cloned, only one can be active.