FAQ

My application is written in C#.NET. How can I protect my .NET code from decompilation?

Because of the nature of .NET, unprotected .NET assemblies can be decompiled easily by advanced programmers and crackers which makes it more easy to detect and remove the protection routines from your application. Therefore it is necessary to protect the code.

Here are some hints:

  • Apply obfuscation to your code. It can be don with different .Net obfuscators. A free edition of Dotfuscator is included to Visual Studio. In the ".NetProtection" sample code in our PPK - see folder [PPK root]\SmarxOS-Samples\Security - we use the open source obfuscator Confuser.
  • Use the hardware-based encryption engine of the CRYPTO-BOX to decrypt information required for application execution during runtime.
  • Wrap your .NET executable with a packer. The easiest solution is to use our AutoCrypt for it. See Smarx Compendium, chapter 4.5.3 for more details.

Furthermore, we are offering consulting and implementation support on request - please contact us to discuss your requirements.

« Back to Category