The way I did it is simple. When the application start, it checks if a valid
license has been entered. If not, it asks for one with the option to try for
30 days. If the user clicks on try for 30 days, the app checks if a date has
been inserted (somewhere in the registry, crypted). If one is found, do the
interval (timespan) between now and the said date. If not found, insert one.
As for the serial, key or license (whatever you call it), I broke some
informations down to the bit and reconstructed them back to what I need to
generate a good serial. I think it's the usual way of doing it.
I hope it helps
"Zemp Dominik" <ze**********@nospam.ecreation.ch> a écrit dans le message de
news:
A0**********************************@microsoft.com...
Hi
I would like to integrate a license mechanism into my application. How can
I
do that?
The application should run only 30 days, if the user hasn't a valid
license!
Then, he has to insert a valid lincse to use the application again.
Can anyone help me?
Thanks
Dominik