Possible Duplicate:
Is there a way to prevent Reflector from being able to reflect my source code?
Hi all Is it possible to prevent the application that you make with your开发者_开发知识库 hard work from being disassembled. I know there is Reflector that disassembles .Net applications.
so is there any way out to protect it?
The default way is code obfuscation - a process when a special program changes names of the variables, methods and classes so the reverse engineering returns the code that is hard to understand. Visual Studio includes community edition of Dotfuscator.
You also can use other techniques, like code unpacking to hide the code from the reverse engineering.
BTW, Reflector is not a disassembler, it is decompiler.
You are looking for an obfuscator such as Dotfuscator.
精彩评论