Best practices to "lock" a program after a certain amount of time?

2 posts in this topic

I want my program to function fully for a week. Then I want to lock it, and the user has to buy the full version and input a license key to continue using it.

How can this be done in a good way? Needs to be something so the user cannot just delete and reinstall the program for another free week of usage.

I guess one way would be to have the program communicate with a database on my servers. Lets say the program captures hardware ID, sends it to my database with a timestamp, then whenever the program runs it will check my DB if the free period is up.

Is this the only way though? Can it be done without throwing http requests around?

Share this post

Link to post
Share on other sites

Saw this topic a couple of days ago in the example subforum



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now