Renamer

This protection renames and confuses the symbols so that the decompiled source code cannot be compiled or read.

This protection is available in the editions:

Developer Startup Enterprise


Code example

  • Without rename:
internal class Program 
{
    private static void Main(string[] args) {
        var name = getUser();
        Console.WriteLine($"Hello, {name}");
        Console.ReadKey();
    }
}
  • Renamed:
internal class zvsd5gf6kb 
{
    private static void c5ata2sg7i(string[] ku4qwm8u37) {
        var bkn5clw1o4 = 0xfbdflqvw();
        Console.WriteLine($"Hello, {bkn5clw1o4}");
        Console.ReadKey();
    }
}

Exclusions

  • Exclude with attribute

Include this attribute in your source code:

[Obfuscation(Exclude = true, Feature = "renamer")]
  • Exclude from the interface

You can exclude this protection from the methods or classes you want.


Compatibility

Previous
Control Flow