Eazfuscator.NET can be run from command line. Although this is uncommon usage pattern it can be useful for some projects.
The command-line interface of Eazfuscator.NET is accessed by invoking Eazfuscator.NET.exe
executable.
Installer adds Eazfuscator's install directory to PATH system variable,
so Eazfuscator.NET.exe
can be invoked from any location within the file system and
you don't have to worry how to find the file.
Here is the full list of available options (it can be retrieved by running Eazfuscator.NET.exe --help at the command line):
Usage: Eazfuscator.NET.exe [options] <input file 1> [input file 2] ... Generic options: -? [ --help ] Produce detailed help message for available options. --version Print version string. -n [ --nologo ] Suppress logo message. Configuration options: -o [ --output ] arg Put obfuscated assembly to the specified output file. If this option is not specified then output assembly overwrites the input file. The option cannot be specified when multiple input files are given. -k [ --key-file ] arg If this option is specified then obfuscated assembly will be signed with a key from specified file. PLEASE NOTE: obfuscated assembly that had a strong name before obfuscation MUST BE resigned to work properly; otherwise it will not be able to load. Also note that only assemblies with strong name can be resigned - assemblies without strong name are not affected. -c [ --key-container ] arg If this option is specified then obfuscated assembly will be signed with a key from specified container. This option cannot be used with 'key-file' option. -q [ --quiet ] Do not print any information and diagnostic messages. Advanced features: --decode-stack-trace-with-password arg Decodes encrypted stack trace. Password for decryption is given with this option. Encrypted stack trace must be fed to standard input stream of the application. Decrypted stack trace will be fed to standard output stream. --error-sandbox arg Runs application given as argument in exception sandbox. Every unhandled exception is caught by sandbox environment. This feature is useful when obfuscated application cannot be started and bails out with default unexpected error window. --ensure-obfuscated Checks the input file and ensures it is obfuscated. Integration options: --msbuild-project-path arg MSBuild project path. --msbuild-project-configuration arg MSBuild project configuration name. --msbuild-project-platform arg MSBuild project platform name. --msbuild-solution-path arg MSBuild solution path. --protect-project Protect project. Project is obfuscated by Eazfuscator.NET on every build when protection is active. This option should be used with 'msbuild-project-path' option. --unprotect-project Remove project protection. This option should be used with 'msbuild-project-path' option. Compatibility options: -v [ --compatibility-version ] arg A version of Eazfuscator.NET to be compatible with. --check-version Instructs to check the installed version of Eazfuscator.NET and return the result as exit code. This option cannot be combined with other options. (To get more help, please try to use it) Advanced configuration options: --probing-paths arg Probing paths separated by semicolon. --warnings-as-errors arg A list of warnings to treat as errors separated by comma. Example: --warnings-as-errors EF-4001,EF-4002 To treat all warning as errors please put an argument 'all' to this option: --warnings-as-errors all --configuration-file arg Configuration file in C# or VB.NET format with a list of assembly attributes for obfuscation. Please refer to documentation for configuration syntax. -s [ --statistics ] Produce obfuscation statistics report. --newline-flush Flushes output messages with new line (CR/LF) symbols. This feature is useful when integrating with third-party IDEs.