The .NET Obfuscation Checker is a tool that shows you which assemblies in a directory are:
- Strong named
- Digitally signed
- .NET assemblies
- Only exposing public types
You can then see the state of the build you're shipping and know whether it's safe to ship.
The .NET Obfuscation Checker is an experimental tool, and not supported.
It is free, but requires a license of .NET Reflector. You can use a free trial for two weeks, but will then need to activate the copy of .NET Reflector in c:\Program Files\Red Gate\.NET Obfuscation Checker 1\Reflector.exe.
Overview - checking obfuscation in a directory
To see the obfuscation and security status of files in a folder:
- Open the Obfuscation Checker if it is not already running, and click Browse.
A file browser dialog is displayed.
- Navigate to the folder you are interested in and click OK.
- Click Scan.
The Obfuscation Checker scans through the folder you selected, and displays information about the security and status of the files.
The command line interface
The Obfuscation checker has a simple command line interface so you can integrate it with your build process. The checker itself is an experimental beta tool, and we'd like to stress that the command like version is even more so - it's as stable as we could make it in limited time.
The command line outputs the results of an obfuscation check as an XML file.
Command line syntax
To use the command line, specify a folder to scan and a file to output.
The arguments are:
/folder (alias: /fl)
Specifies the folder to scan.
/outputFile (alias: /of)
Specifies the xml file to be output.
C:\YourFilePath>ObfuscationChecker.exe /folder:"C:\Program Files\Red Gate\.NET Obfuscation Checker 1" >> D:\output.xml
The XML schema
The XML output has the schema: