How to implement an n-day time bomb?

  • Thread starter Thread starter James P. Clark
  • Start date Start date
J

James P. Clark

I'd like to provide my client an application which will stop working after a certain number of days have passed since the first invocation (trial software). Any ideas on how to make this work even if the user changes the system date?
 
I have not need to expire an application, but you might record the date each time the application is started and disable the application if the current date is before the last time your application ran.

Also, if your application will run on a machine that guarantees an Internet connection, you might communicate out to a time server and use that time rather then the system time.
I'd like to provide my client an application which will stop working after a certain number of days have passed since the first invocation (trial software). Any ideas on how to make this work even if the user changes the system date?
 
Hi James,

You can set at the start a start date in the register, with an encoded signature of the datetime it is created.

You can do more, but in my opinion is that not allowed use of the computer of your future client. Especialy those shareware program which do not uninstall this information when uninstalling.

So when the user uninstall this completly he can start again of course (the same when he start with a new computer).

Co
 
Write a registry entry on the first run, and then if the days between now and then exceeds 30, END

-
Best Regards - OHM
one.handed.man{at}BTInternet{dot}com

I'd like to provide my client an application which will stop working after a certain number of days have passed since the first invocation (trial software). Any ideas on how to make this work even if the user changes the system date?
 
what is encoded signature?
how to do it?
I'd like to provide my client an application which will stop working after a certain number of days have passed since the first invocation (trial software). Any ideas on how to make this work even if the user changes the system date?
 
You can save the counter in the registry, and set permission to this key with the correct registration number

--
Rami Saad
Microsoft GTSC Developer support for Middle East


I'd like to provide my client an application which will stop working after a certain number of days have passed since the first invocation (trial software). Any ideas on how to make this work even if the user changes the system date?
 
Back
Top