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 BarPosted Sep 18, 2009, 5:16 AM
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.
MEHA SHANMUGASUNDARAPosted Sep 21, 2009, 2:23 AM
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
Master BillaPosted Sep 18, 2009, 10:46 AM
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
Roei BarPosted Sep 18, 2009, 7:42 AM
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
Jagjit SainiPosted Sep 18, 2009, 6:17 AM
Registry is ok but it can be hacked.