Click here to Skip to main content
15,893,564 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I want to protect my dll from the disassembler.

I created class library using c#. And i got dll from Build. If i disassemble this dll using reflector the it show the original source code (C# code).

I want to protect this. Can you please suggest any good idea to protect?

I do not want any software for protect. I need to achive this by adding some more code for make more security. Or anything other technique if you think best please tell me.
Posted

The best you can do is use an Obfuscator tool[^].
This is also not completely fool proof and can be decompiled (although its much harder to do so).
 
Share this answer
 
Comments
CPallini 15-Apr-13 4:23am    
My 5.
Abhinav S 15-Apr-13 4:31am    
Thank you CPallini.
If you really think you need it, thoroughly review this idea. This is .NET. The manufacturers of the reverse-engineering software claim that even the strongest well-known protection software it quite easy to break, and I tend to believe that. Normal user won't even try it, but those determined to reverse-engineer your code will do it easily. Well, you can obfuscate your code just to make understanding of the code difficult, to filter out just lazy users like typical CodeProject enquirers. :-)

Also think, is your software that valuable? Most software products don't worth the effort.

—SA
 
Share this answer
 
Comments
CPallini 15-Apr-13 4:23am    
:-)
5.
Sergey Alexandrovich Kryukov 15-Apr-13 4:24am    
Thank you, Carlo.
—SA
Abhinav S 15-Apr-13 4:31am    
5!
Sergey Alexandrovich Kryukov 15-Apr-13 10:57am    
Thank you, Abhinav.
—SA

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