0
why dont you use a date Expiration insted its much easier
http://www.csharphelp.com/archives2/archive320.html
if you want to encrypt the registry its ok but can also be hacked very easily by capturing the memory point of the application and checking out the Key Used for Decrypt.
Accepted 0
Hi,
Thank you very much for ur reply.
If I use the resources means the exe will be delete or unistall & install again the resources will be reassigned.
But I want the user will use the exe in number of times only.
But i dont know how can i use the resource to my application.
Any other Option for the First time the EXE will be installed means create one file in OS.
Give me a solution to me,Please !
Thanx & regardsm
MsHema
0
Hi,
For this we can do this way,
1. just a create class lib porject and there add a resource file.then create key and value there so when you are open your application update count with in the resource file with encryption.
2.see now when you are deploy the project with that dll make sure resource file as embbed. so no can;t know the where you are keeping count.
if they delete the dll, it will be probs, but other way no issues in this way
thank you
0
it is very unlikely that the user will mess around with his Calander for this since a lot of things will stop working.
then again, you can do another thing,
call a web Service to authenticate, send over the currentDate and current machine information.
if no access to the Web, then stop the application, and same if the server will say it is faulty.
again you can try to manipulate the registry with some fancy Crypt:
here is a good post :
http://www.obviex.com/samples/Encryption.aspx
good luck
0
Date expiration is ok. But what if the user changes the system date?.
Registry is ok but it can be hacked.