Skip to content

Name Protection

yck1509 edited this page Sep 28, 2014 · 12 revisions

ID: rename
Preset: Maximum

This protection obfuscate the symbols' name so the decompiled source code can neither be compiled nor read.

Parameters

mode: This parameter define the way ConfuserEx renames symbols. Supported values are:

  • empty: ConfuserEx would rename all symbols to a empty string.
    Expect many problems when using this mode.

  • unicode: ConfuserEx would rename symbols to Unicode unreadable characters.
    Reflection may not work in this mode.

  • ascii: ConfuserEx would rename symbols to readable ASCII characters.
    Reflection may not work in this mode.

  • letters: ConfuserEx would rename symbols to English letters.

  • decodable: ConfuserEx would rename symbols to decodable string. The obfuscated name mapping would be saved to output folder in the file "symbols.map".

  • debug: ConfuserEx would add an underscore before the symbols. Not intended for production use.

Default is unicode.

renameArgs: This parameter is a boolean value, indicates whether ConfuserEx should remove the name of methods' parameters. Default is true.

flatten: This parameter is a boolean value, indicates whether ConfuserEx should flatten the types by removing the namespaces. Default is true.

forceRen: This parameter is a boolean value, indicates whether ConfuserEx should rename the symbols even if the analyzer shows that it should not be renamed. Default is false.

renPublic: This parameter is a boolean value, indicates whether ConfuserEx should rename the symbols even if the item is visible outside the assembly. Default is false.