如何为用C#编写的应用程序设置试用版? [英] How to set a trial version for an application writern in C# ?
本文介绍了如何为用C#编写的应用程序设置试用版?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经用C#语言创建了一个应用程序/软件.我想为非注册用户设置试用版.
Visual Studio中是否有任何代码或内置控件或DLL库,以便我可以使用它来解决我的问题?
请我紧急帮助.
问候,
艾哈迈德·汗(Ahmed Khan)
I have created an application/software in C# language. I want to set a trial version for non-registered users.
Is there any code or built-in control or DLL Library in Visual Studio so that i can use it to solve my problem ?
Please I need your urgent help.
Regards,
Ahmed Khan
推荐答案
IMO的最佳方法是使用条件编译来创建不包含您不想放弃的代码的试验.否则,有人会逆向工程并打败您的审判.
The best way IMO is to use conditional compilation to create a trial that doesn''t include the code you don''t want to give away. Otherwise someone will reverse engineer and defeat your trial.
为什么如果不注册,为什么不只包括一个nag屏幕呢?每5分钟或每当使用主要功能时,就会显示nag屏幕.
不要忘记使用商业混淆工具来混淆您的代码.不要使用VS2008附带的版本,因为它很容易进行逆向工程.Why don''t you just include a nag screen if it''s not registered. Have the nag screen come up every 5 minutes or whenever a major feature is used.
Don''t forget to obfuscate your code with a COMMERCIAL obfuscation tool. Don''t use the one that comes with VS2008 because it can easily be reverse engineered.
这篇关于如何为用C#编写的应用程序设置试用版?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文