views:

68

answers:

3

Created one windows applcation.

now i would like to give licence for it by keeping expiry date.

am planning to keep expiry date in registries.

the porblem is..

how can i get the actaul date. ie; when user changes the system date also- this should not change.(i meran expiry date.) Am looking for logics to acheive this..!!

+2  A: 

And what will stop a user to go into the registry and change these values? There are many savvy users out there.

Perhaps you should use a license manager, like here or here (just two links off google).

Oded
A: 

date will be encrypted with the encryption algorithm- defined by our team.

pvaju896
You should edit your question with this sort of information rather than posting it as an answer. Stack Overflow is a Question and Answer site not a Discussion Forum.
ChrisF
+1  A: 

Right. A license manager will do this for you, and already protects against clock rollback.

Dominic