I want to protect my dll
from decompile
for that i have created dll
in release mode
and also remove .pub feature at dll
creating time.
I have also read about obfuscator
tool but i am not able to protect my dll
.
Is there any one know how to protect dll from decompile
?
I have checked answer of How can I protect my .NET assemblies from decompilation? but it is not providing proper answer and provide only description that you can't make secure your dll code...
Asked
Active
Viewed 2,083 times
0
-
1I think you can't protect from decompiling, what you can do is using some obfuscator, such as Dotfuscator. – rcs Jun 24 '14 at 09:43
-
@rcs i have tried crypto obfuscator but not get success. – Shirish Jun 24 '14 at 10:25
-
@Alberto i have also tried to make duplicate copy with encrypted dll but every time when i use any decompiler then my code dll get open.. – Shirish Jun 24 '14 at 10:26
1 Answers
1
You can't. What you can do is obfuscate the code, but it still can be decompiled.
Here is a tool for this:

Oscar
- 13,594
- 8
- 47
- 75
-
if i am not able to stop decompilation of dll then what obfuscate will do? – Shirish Jun 24 '14 at 10:46
-
I have downloaded this software and obfuscate my dll but i don't get any change in that dll and my code is still visible without any encryption.. – Shirish Jun 24 '14 at 11:08
-
Your code will still be visible, you can't avoid that. Just that it becomes harder to understand. – rcs Jun 25 '14 at 01:05
-
@rcs with .NET Refractor decompile tool it will show proper managed code. after obfucation.. – Shirish Jun 25 '14 at 05:08
-
@Shirish When a new obfuscation technique appears, new tools to de-obfuscate will show up, you can't stop that. Read the duplicate question to find out why it's useless to worry about it. – Oscar Jun 25 '14 at 07:22