Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hello,

I have developed one Windows Application in C# 4.0
I want to install it on client machine. But I am worried about "Reverse Engineering"/Decompiler.

How I can protect my exe files?
Which is the best Anti-Decompiler (Preferably Free) ?
How to archive exe file(s) so no one can extract it from 7Zip or prevent de-compiling of the same?

Your help is very appropriated!!!
Posted

What you are looking for is code obfuscation. There are a number of free (and paid) options for you out there. Here is a Stack Overflow question with a number of options:

http://stackoverflow.com/questions/805549/free-obfuscation-tools-for-net[^]
 
Share this answer
 
Comments
Vitaly Tomilov 22-Jun-12 11:30am    
In addition to this, I'd suggest that after you have applied obfuscation, see how this affects tools like this one: http://blogs.jetbrains.com/dotnet/2012/05/dotpeek-10-is-released/
There's no way to prevent decompilation, but you can make it very difficult to understand the decompiled code with obsfucation, as Tim mentioned.

As for the 7Zip part, you can encrypt the file (by entering a password under the encryption section in the "Add to Archive" window of 7Zip), but you'd have to give the client the password or else they couldn't use the program (or extract it yourself, but either way in the end they have access to the exe, otherwise they can't run it).

But honestly, I wouldn't be so concerned, as long as you obsfucate the code it would probably be easier for someone to start from scratch than it would be to reverse engineer your code.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900