Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
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
Posted
Updated 1-Feb-10 11:25am

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.
 
Share this answer
 
This webpage explains conditional compilation.
 
Share this answer
 
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.
 
Share this answer
 
What is conditional compilation ?

Will you please explain it with some code or screenshots so that i can understand a lit bit clearly :-)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900