Possible Duplicate:
.NET obfuscation of a DLL: how can I protect my code?
Hi all,
I'm using .net framework 4.0 and making any program. When i finished it, i publish it and get my programs exe. But any 3rd party softwares decompiles my exe and anybody views my codes. For example :
How do i save my code?
Thanks all...
This means that if you have a public DLL or executable that your business is distributing, anyone with a copy of your executable can open it up in a . NET decompiler like dotPeek, and directly read (and copy) your source code. Code obfuscation can't prevent this process—any . NET DLL can be plugged into a decompiler.
Obfuscation is pretty simple (in concept), the idea is to alter your code in such a way that it makes the code much harder for a human to understand if they look at it using . NET reflection.
... the easiest way to look at this is probably ILSpy -- you don't have to write your own ObfuscationChecker. https://github.com/icsharpcode/ILSpy . You load the obfuscated dll, and it displays the assembly attributes at the very top. You can also inspect the quality of the obfuscation that way.
Code Obfuscation is the process of modifying an executable so that it is no longer useful to a hacker but remains fully functional. While the process may modify actual method instructions or metadata, it does not alter the output of the program.
You could use an obfuscation tool, like Dotfuscator or Eazfuscator.NET.
Eazfuscator.NET is free, Dotfuscator has a limited Community Edition, but is lacking many of the features available for free in the other product.
UPDATE
Eazfuscator.NET is now commercial. This link provides a download link for the last free version and lists some alternatives (as of September 2012)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With