问题描述
大家好
如何在我的lightswitch应用程序中实施密钥激活许可. (与其他许可软件一样)
How can i implement key activation licensing in my lightswitch application. (like other license software)
有参考博客或网站吗?
推荐答案
1)除非您的应用程序具有Word的质量和流行度,否则不值得付出努力.花时间和精力在行销和改进应用程序上.如果您希望别人真正想偷您的应用,那么请考虑一下自己的幸运和 然后可以在此问题上花费更多时间.在许多情况下,没有人在乎.
1) Unless your app is Word quality and popularity, it is not worth the effort. Spend your time and treasure on marketing and making app better. If your lucky enouph for people to actually want to steal your app, then concider yourself lucky and can then spend more time on the issue. In many cases, nobody cares.
2)公钥东西高一英里,但只有10英尺宽.如果有人要破解,就不要破解加密,而是在代码安全检查周围打补丁.这比我们希望的要容易.
2) Public key stuff is a mile high, but only 10 feet wide. If someone wants to crack, you don't crack the encryption, you patch around the code security checks. This is easier then we would hope.
3)因此,我已经决定了这基本上是前门问题".您可以锁上前门以防止诚实的人进入.专业人士将其踢入或闯入窗户.
3) Therefore, I have decided this basically the "Front Door Problem". You lock the front door to keep the honest people out. The professionals kick it in or break a window.
4)因此,如果您仍然想保持诚实的人诚实,那么一些简单的哈希方法就很简单,而且对99%的用户来说是很好的方法.散列类似计算机名称和许可证信息字段的内容,并生成一个"bool HashVerifier(string 哈希")应用中的方法.付款和注册后,将生成的哈希密钥发送给用户.这将解锁"消息.精简版的应用程序变成了完整的应用程序.
4) So if you still want something to keep the honest folks honest, then some simple hashing method is simple and good enouph for 99%. Hash something like the machine name and license info fields and make a "bool HashVerifier(string hash)" method in the app. Send a generated Hash key to the user after pay and registration. This will "unlock" Light version of app into full app.
5)除非它是测试版或包含一些基于时间的组件,否则请不要按时禁用您的应用程序.这是IMO的愚蠢策略.您只给用户别无选择,只能删除您的应用程序;这与您未来的销售目标背道而驰-行销不良. 产品的精简版,是免费的社区版,并具有一些减少的功能,例如用户数量,记录支持,报告等.这可以作为良好的营销工具,制造噪音并减少大多数预销售问题 在功能上.在用户手中得到它就是您想要的.
5) Never disable your app on time unless it is a beta or has some based time component. This is a fools strategy IMO. You only give users no choice but to remove your app; which runs counter to your goal of a future sale - Bad marketing. Supply a Light version of your product that is a free community version and has some reduced functions such as user count, records supports, reports, etc. This can serve as a good marketing tool, make some noise, and reduce most pre-sales questions on features. Gets it in the hands of users is what you want.
6)如果您选择托管服务,则可以避开此问题.它们会关闭(或打开)并且没有服务器代码.对用户和开发人员来说都是有吸引力的选择(因此称为Azure).
6) If you opt for a hosted service, then you side step the issue. They get turned off (or on) and don't have server code. These days, this is more of an attractive option (hence Azure) for users as well as devs.
这篇关于如何为电灯应用实现按键激活的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!