Onur,
For what you write there has in my idea to be a privacy protection
declaration like Microsoft does and an acceptance of that.
Many person will believe Microsoft, Adobe, Google, Kaspersky.
But will they direct trust an obscure person let say like Cor.
I doubt it.
It does not mean the program will not be used, but if it is about a kind of
try out for a program, I assume it is throwing the baby out with the bath
water.
Cor
"Onur Güzel" wrote in message
Earlier I used to record one line in a file sitting in an obscure
location to count the number of uses and when. With Vista and 7, it is
messy to try to write in some locations because of UAC. What would be
a good way to solve this problem in VB.net?
How do you prevent the user from using the program if he has been told
to use it only for 30 days? Users can easily change the date on the
computer, so one line of If Now > something then End does not work.
Thanks.
Though most of people can consider storing first launch date of
program in registry or in a file cryptically, i believe it's not the
best protection though it can only be choosen for non-in-depth-
knowledge-having people. However, if the program is a internet-based
one, i believe its best to let the user activate the program online,
by means of a web service or a http server remotely. On each launch,
it can ask server to grant launch permission. So, server will
calculate "Now minus activation time". The disadvantage of that method
is that program client can get bored while waiting response from
server, or the client of program may not have access the Internet.
Another option could be, such, mixing some hidden but certain values
mixed together in a single file or key. That would be user's attempt
harder to extend trial.
Onur Güzel