On Aug 3, 7:03 am, Peter Duniho <NpOeStPe...@NnOwSlPiAnMk.comwrote:
Mike9900 wrote:
That would not help, because the user would uninstall the software and
deletes the file with the directory. So the app can run again for another 30
times. I want the app to get expired after 30 uses.
The first thing you need to understand is that there is _no_ way for you
to absolutely prevent a user from running your application more than 30
times. The real question is how much effort do you want to put into it,
and how annoyed do you want your legitimate users to be?
Peter is right - there is no 100% foolproof way of doing this. It
can take quite a lot of work to do a reasonable job. Whatever method
you use it is generally better to impose some other restrictions
during as a trial period that will encourage users to purchase even if
they do discover how to get around your trial period. Ideally these
limitations should still enable the user to fully evaluate your
product. A common method for applications that product printed or
other graphic output is to watermark the output if there is no
license.
If you are open to a reasonable priced commercial solution then
Infralution's Licensing System allows you to do evaluations using
either of the two approaches Peter suggested. You can use the
EvaluationMonitor class to store the information in an obscure (and
semi-random) location in the registry or you can issue license keys
which have the evaluation end date embedded in them. You can get
more information and download a trial version from:
www.infralution.com/licensing.html
Regards
Grant Frisken
Infralution