all groups > c# > february 2004 >
You're in the

c#

group:

How to implement an n-day time bomb?


How to implement an n-day time bomb? James P. Clark
2/14/2004 10:22:15 PM
c#:
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?

--=20
Re: How to implement an n-day time bomb? Peter Rilling
2/15/2004 12:43:24 AM
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.
[quoted text, click to view]
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?

--=20
Re: How to implement an n-day time bomb? One Handed Man
2/15/2004 9:51:56 AM
Write a registry entry on the first run, and then if the days between =
now and then exceeds 30, END

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

[quoted text, click to view]
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?

--=20
Re: How to implement an n-day time bomb? Cor
2/15/2004 10:03:36 AM
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).=20

Re: How to implement an n-day time bomb? pei_world
2/15/2004 11:15:24 AM
what is encoded signature?
how to do it?
[quoted text, click to view]
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?

--=20
Re: How to implement an n-day time bomb? Rami Saad
2/15/2004 5:22:58 PM
You can save the counter in the registry, and set permission to this key =
with the correct registration number

--=20
Rami Saad
Microsoft GTSC Developer support for Middle East


[quoted text, click to view]
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?

--=20
Re: How to implement an n-day time bomb? karachified NO[at]SPAM yahoo.com
2/17/2004 12:56:37 PM
You can try DemoWare...goto following link

http://www.sehman.com/demoware.html

[quoted text, click to view]
AddThis Social Bookmark Button