Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create an application that will expire after a trial period [duplicate]

Tags:

c#

trialware

C# 2008 SP1

I am writing an application that I want to give to a select number of customers.

What is the best solution to use so that after the trail period (1 month) the application will no longer work.

I was thinking that if they are interested in purchasing the software I will give them a license key or something, to unlock the application.

I am have a very limited budget as I am working on my own. So is there any free 3rd party products that does this?

like image 913
ant2009 Avatar asked Sep 13 '09 14:09

ant2009


People also ask

How can I use software after trial period is over?

Uninstall the program and reinstall it. This is basic method used to keep a program running after its trial period has expired, but it will not work will all software. Many software engineers program trial software to expire at the end of a given time and reinstalling the software will not restart the clock.

How many days does a trial version software usually last?

Typically, the trial period can be anywhere from 10-30 days or even 45-60 days. Some trial periods are based on usage and only allow users to open the program a limited number of times.

How do I create a trial version of an application in C#?

If first time execute then open a simple message & execute main application. If not, check day duration if less than 30 days, then open a message that it is in trial period, user may enter Product key. If user chose product key option then check that valid or not. If valid then show a confirm message, else not confirm.


1 Answers

Here is the trick i did to stop users from playing with date/time settings and back dating the clock.

When the app runs for the first time, encrypt the first run date and end trial date and last run date in registry. And decrypt and check the end trial date and not system date from there on everytime the app runs. This solution works for users with no internet connectivity.

like image 120
Binoj D Avatar answered Nov 09 '22 15:11

Binoj D