SoFunction
Updated on 2025-03-06

How to prevent your program from being decompiled using the obfuscator that comes with VS2005

The first thing to do is find:
D:\Microsoft Visual Studio .NET 2003\PreEmptive Solutions\Dotfuscator Community Edition

First, run the interface of whether to register. Don’t register first, enter the following interface:


Here we see 2 options, 1 is to open an existing project. If you choose this, you will find that the XML file you want to open is not a DLL or EXE, because dotfuscator is processed according to the XML configuration file. You can write the XML configuration file yourself, I prefer to automatically generate XML.

We select the new project, and then browse and select the assembly you want to obfuscate in the trigger tab:


Then select your target directory in the Generation tab (the directory saved by the newly generated assembly after obfuscation)
Here you have completed the basic configuration. If you want to save these to the XML configuration file and use them directly,
Select file - save the project.

Click the Generate button and you will find that an obfuscated assembly has been generated in the target directory.

The above are all very simple methods of using dotfuscator. In fact, dotfuscator has many other obfuscation functions, which you can study slowly.

For example, string encryption, etc.