Need help to make my program a 30 day trial program
Printable View
Need help to make my program a 30 day trial program
Heres How I would Say to Do THis, 1ST get the ability to Read and write INI's in your program, Some Where in this website there is A INI example, Note If you want to figure that stuff out with the dates then you have to make your program 1St detect that the ini is missing and write that date, then detect when it is 30 day in advance.
Screw that, that's way to easy to crack! Save the date of install to some random registry key, make sure that you somehow encrypt that date. Then, when your program starts, have it decrypt that key and use the DateDiff function to determine if 30 days has elapsed since the day of install.
Note: You may want to consider having your program run on how many times it can be opened rather than dates, because the system date can always be changed...