How to prevent my .NET DLL to be decompiled?
-
Hi Expert i am using VS 2005 and Making Some .dll File but i see that their are some tool like .net reflector like to decomplied the .dll file code is their any way to prevent to decomplied my .NET Dll.
-
Hi Expert i am using VS 2005 and Making Some .dll File but i see that their are some tool like .net reflector like to decomplied the .dll file code is their any way to prevent to decomplied my .NET Dll.
The short answer is no. If someone wants to decompile it they will. You could use an obfusticator to make it less readable, but that would not stop them being able to decompile it. So the long answer is also no. :)
Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.
-
Hi Expert i am using VS 2005 and Making Some .dll File but i see that their are some tool like .net reflector like to decomplied the .dll file code is their any way to prevent to decomplied my .NET Dll.
By design .NET embeds rich Meta data inside the executable code using MSIL. Anyone can easily decompile your DLL back 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 some real good 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 de compilers. There are many third parties (XenoCode, Demeanor for .NET) which provide .NET obfuscation solution. Microsoft includes one that is Dotfuscator Community Edition with Visual Studio.NET
lklklhjsdg