License mechanism for my application

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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
 
Hello Zemp,

Use "Shareware Started Kit" http://sharewarestarterkit.com/

ZD> I would like to integrate a license mechanism into my application.
ZD> How can I do that? The application should run only 30 days, if the
ZD> user hasn't a valid license! Then, he has to insert a valid lincse
ZD> to use the application again.

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/members/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
 
Back
Top