我对此有点困惑。我有一个非常独特的哈希算法等用于 key /许可证创建;我不担心那部分。
我真正需要的想法是如何禁用无效的产品......呃,验证。
它在Linux平台上并使用配置文件等。
根据无效许可证,我有几种操作选择:
-删除配置文件(但是,可以轻松地从备份中恢复)
-用非功能性二进制文件替换二进制文件(但这些可以轻松地从备份等中恢复)
- 只需标记支持人员以便稍后联系,但这仍然不能解决禁止未经许可的副本的问题。
想法?到目前为止我还没有一个令人满意的解决方案。
最佳答案
无论你做什么,都不要弄乱程序以致破坏它。如果您的验证算法失败并且有效许可证被标记为无效,您就会有一位愤怒的付费客户,他无法再使用他的付费程序。
我将在启动时显示一个模式窗口,其中会读取以下内容:
This copy of the program has not passed the license validation. It is possible that you are running an illegal copy (maybe purchased at an unethical retailer). Please cal 1-800-whatever or send a mail to [email protected] to put a solution to this problem. If you think that you are running this program with a valid license and this message is an error on our part, contact the above phone/mail and we'll correct this.
关于validation - 如何禁用无效身份验证的产品?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5936835/