Click here to Skip to main content
15,884,986 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
30 days trail application code... after 30days the form should redirect to register form...
Posted
Updated 25-Mar-14 23:49pm
v2
Comments
Pheonyx 26-Mar-14 5:46am    
Well what have you tried? This isn't a "Demand and you shall get" site, this is a "help" site. You attempt to write code, have a specific issue and come here with an example saying I've tried this (with a code example), but it's not working. This is what is going wrong..., how can I resolve it.

1 solution

Quote:
You could do a WMI query to get the MAC address of the primary NIC card and use that as your unique identifier that is stored in the database. You wouldn't need the user to register either, just on the appliation's first launch, update your database with the NIC address and the expiration date. Check the date on every subsequent launch and once you reach that date, disable your program. The user wont be able to uninstal/reinstall to get around your protection scheme, unless they change network cards. I wouldn't store anything like usernames or anything that feels even remotely personally identifiable.

Please check below links for more info : How to implement a 30 day trial period

Another Link : How can I make my application have a 30 day trial period
 
Share this answer
 
v2

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