top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to prevent my .NET DLL to be decompiled?

+1 vote
421 views
How to prevent my .NET DLL to be decompiled?
posted Oct 2, 2013 by Atul Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
Try Dotfuscator. It's the .Net Obfuscation tool.

1 Answer

0 votes

By design .NET embeds rich Meta data inside the executable code using MSIL. Any one can easily decompile or disassemble your DLL using tools like ILDASM (owned by Microsoft) or Reflector for .NET which is a third party.

Secondly there are many third party tools which make this decompiling process a click away. So any one can easily look in to your assemblies and reverse engineer them back in to actual source code and understand your logic which can make it easy to crack your application.

The process by which you can stop this reverse engineering is using “obfuscation”.

It’s a technique which will foil the decompilers. There are many third parties (Dotfuscator, XenoCode, Demeanor for .NET, Crypto Obfuscator, etc...) which provide an obfuscation solution. When evaluating obfuscators, they are not all equal in quality.

Most do not handle XAML well if at all. Also, some products are more sophisticated than others with basic obfuscation as well as string encryption. Cheaper is not always better.

Microsoft includes Dotfuscator Community Edition with Visual Studio.NET but it may not be sophisticated enough for your application.

answer Oct 2, 2013 by Salil Agrawal
Similar Questions
+1 vote

Explain about dll hell problem in .NET and how it will solve

+3 votes

Can one DLL file contains the compiled code of more than one .NET language? If yes, how?

...