-
Implementing time-limit in a program
What is a good way to implement a time-limit in a program, so that it stops
functioning after a given amount of days? I was thinking of using the registry,
but if I just save a date or a number of days, it is easy to change.
Any ideas?
Thanks,
/BiLL.
-
Re: Implementing time-limit in a program
You can store a hash of the value also. If the value doesn't match the
hash, then you know it's been tampered with.
<plug>
or you could check out my CSecurity product at www.davidcrowell.com
</plug>
Dave
"Bill" <bill@billnet.nu> wrote in message news:3961aa06$1@news.devx.com...
>
> What is a good way to implement a time-limit in a program, so that it
stops
> functioning after a given amount of days? I was thinking of using the
registry,
> but if I just save a date or a number of days, it is easy to change.
>
> Any ideas?
>
> Thanks,
>
> /BiLL.
-
Re: Implementing time-limit in a program
Yes use the registry and just encrypt the date with a key only you know. And
just decrypt it to verify how many days it's been.
"Bill" <bill@billnet.nu> wrote:
>
>What is a good way to implement a time-limit in a program, so that it stops
>functioning after a given amount of days? I was thinking of using the registry,
>but if I just save a date or a number of days, it is easy to change.
>
>Any ideas?
>
>Thanks,
>
>/BiLL.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|