Click here to Skip to main content
15,891,375 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I want to add a feature to my trial version of the application. After first activation, I want to make it limited to 90 days. But I am concerned about user's changing the date of system hence deceiving my application.
Is there any possibility to make it fool proof in a way that even if user takes the calender back, application expires after 90 days of first activation? First activation date has been saved in the database.

Thank you very much.
Furqan
Posted

1 solution

Your best bet would be have a hidden encrypted file, somewhere on the client machine. In this file you can store a date/time, first of all when the application is installed, thereafter every time the client opens the application, check this date/time and if your stored date is ahead of the system date then you know that the user has changed the system time, and you can then shut down the application, informing the user that there is a Discrepancy in the License or something.

Hope this helps
 
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