程序上的序列号 [英] serial key on a program

查看:128
本文介绍了程序上的序列号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我已经创建了一个程序,我想在线销售它,但是我希望它不能被复制.我认为无法复制是无法完成的,所以我要做的就是使它需要一个串行密钥才能打开.序列号已分配给它.感谢您的帮助.!

hello i have created a program and i wanna sell it online but i want it not to be able to be copied. I think that not being able to be copied can''t be done.So all i need to do is to make it need a serial key to open.Can anyone tell me how to do that, how to make it open only when a serial key is given to it.Appreciate your help.!

推荐答案

看看: ^ ]

请注意,任何中等水平的开发人员都可以轻松打破大多数基于.Net的保护机制所提供的保护-因此,基本上,您应该尝试找到一种更好的方法来激发客户忠诚度,例如基于订阅的额外在线功能.

最好的问候
Espen Harlinn
Have a look at: Application Trial Maker[^]

Be aware that any moderately accomplished developer can easily break the protection offered by most .Net based protection mechanisms - so basically you should try to find a better way to motivate customer loyalty like subscription based extra online features.

Best regards
Espen Harlinn


您编写用于检查序列号的代码.而且,如果您不希望别人复制序列号并共享它,则可以使序列号仅与您选择的计算机相关,就像使用WMI一样.而且,如果您希望它能正常工作,则需要使用昂贵的工具来混淆您的代码,或者使用C ++对其进行重写.归根结底,您需要在使其安全与成为真正用户的PITA之间取得平衡.

如果有一部分代码可以为每个人做到这一点,那么每一段代码都会以相同的方式被破解.编写适合您需要的内容完全取决于您.
You write code that checks the serial number. And if you don''t want people to copy the serial number and share it, you make the serial relate only to the selected machine, which you do with WMI. And if you want it to work, you need to obsfucate your code with an expensive tool, or rewrite it in C++. At the end of the day, you need to strike a balance between making it safe, and being a PITA to your genuine users.

If there was one bit of code that did this for everyone, then every piece of code would be cracked the same way. It''s up to you to write something that suits your needs.


这篇关于程序上的序列号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆