Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I am trying to create trial version of my application.I have gone through so many articles which stated ways such as storing dates in config file,in application folder etc.

Now,i thought another way out.I need help to know weather its good idea or not.

HOW:

I will create one database field say count,enter installation date in database.Every time program launches i will get the current date,and difference with the installation date (say 30),will be stored in the count.Then i check using count for the expiration.

Is there any thing wrong with this concept.I will use encryption algorithms to store all data in database in encrypted format.

Further,Security is not MAJOR issue here as per as my target audience is concerned
Posted
Comments
Basmeh Awad 14-May-13 2:01am    
dou your application involves database???
Sejal Rabari 14-May-13 2:12am    
I have database which stores some information,now i want to modify it in such a way so that i can implement the above functionality.

1 solution

There are several ways to achieve that. The method you choose depends on your needs.

Please, refer these:
How to create a trial version of your app?[^]
http://stackoverflow.com/questions/4521468/where-to-store-the-protection-trial-info-for-software-protection-purpose[^]
 
Share this answer
 
Comments
Sejal Rabari 14-May-13 2:34am    
Thanks maciej.I appreciate your reply.I have already gone through all of this.I am particularly intrested to know what are the disadvantages are there with the way i thought of?Why not to store all that installation related info into database?
Maciej Los 14-May-13 3:45am    
As i wrote before, the method to store installation date (and others) depends on your needs. You can store it in a database in encrypted format. I don't see any risk / disadvantage.

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