Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
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 14-Apr-13 23:11pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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).
  Permalink  
Comments
CPallini at 15-Apr-13 4:23am
   
My 5.
Abhinav S at 15-Apr-13 4:31am
   
Thank you CPallini.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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. Smile | :)
 
Also think, is your software that valuable? Most software products don't worth the effort.
 
—SA
  Permalink  
Comments
CPallini at 15-Apr-13 4:23am
   
:-)
5.
Sergey Alexandrovich Kryukov at 15-Apr-13 4:24am
   
Thank you, Carlo.
—SA
Abhinav S at 15-Apr-13 4:31am
   
5!
Sergey Alexandrovich Kryukov at 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)

  Print Answers RSS
0 BillWoodruff 330
1 Mathew Soji 309
2 Maciej Los 295
3 DamithSL 225
4 Afzaal Ahmad Zeeshan 217
0 OriginalGriff 6,369
1 Sergey Alexandrovich Kryukov 5,973
2 DamithSL 5,183
3 Manas Bhardwaj 4,673
4 Maciej Los 4,025


Advertise | Privacy | Mobile
Web01 | 2.8.1411019.1 | Last Updated 15 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100