Hi All,
EXE will be opened 10 times only. After that click the EXE "Application is Expired" message will be shown.
I am trying this using Registry - Its working. But If find the Registry Key Location, change(I'm tried with encryption) the Key value or Delete the Registry Folder means after that the EXE will be run.
So, I need Nobody hack the Registry Location/Some heavy Encryption will do.
Anybody know the Solution.
Please reply immediately...
By
MsHema.
Loading

Roei BarRank #1,271 · 1.4K reputationPosted Sep 18, 2009, 1:16 AM EDT
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.
Jagjit Saini2 reputationPosted Sep 18, 2009, 2:17 AM EDT
Registry is ok but it can be hacked.
Roei BarRank #1,271 · 1.4K reputationPosted Sep 18, 2009, 3:42 AM EDT
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
Master BillaRank #2,229 · 630 reputationPosted Sep 18, 2009, 6:46 AM EDT
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
MEHA SHANMUGASUNDARA39 reputationPosted Sep 20, 2009, 10:23 PM EDT
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