dotPeak is a free .NET Decompiler from JetBrains that decompile .NET assemblies into clean C# code or IL. This tool can decompile any .NET assembly into equivalent C# and optionally show the underlying IL code.
What is Decompilation
Decompilation is the reverse function of Compilation. Decompilation is the process of transforming a compiled binary executable/library into a higher-level symbolic language that is easier for humans to understand.
What is a Decompiler?
The decompiler function is opposite to a compiler. A decompiler is a disassembling Software utility tool that takes an executable file (.exe) or library file (.exe) as input attempts to generate a high-level source file that also can be possible to recompile. All Decompilers may not perfectly reconstruct the source code correctly. However, they will frequently produce obfuscated code. Decompilers are one of the essential tools used in the reverse engineering of computer software.
What are the Decompilers on .Net?
.NET Reflector was the very first CLI assembly browser. It can be used to inspect, navigate, search, analyze, and browse the contents of a CLI component. It takes the input as any .Net compiled assembly and translates the binary information to a human-readable form. By default, Reflector allows decompilation of CLI assemblies into C#, Visual Basic .NET, Common Intermediate Language, and F#.
In .Net, there are many free decompilers which alternative to .NET Reflector. There are a few decompiler’s that provide the full features and are free. The free decompilers for .Net (free decompilers for c#) are ILSpy, JustDecompile (by Telerik), DotPeak (by JetBrains), DILE – Dotnet IL Editor (by zsozsop), etc.
dotPeak Free .NET Decompiler and Assembly Browser:
dotPeak is a free standalone tool from JetBrains that decompile .NET assemblies into clean C# code or IL. This tool can decompile any .NET assembly into equivalent C# and optionally show the underlying IL code.
The dotPeak decompile below list of files:
- libraries (.dll), executables (.exe), Windows metadata files (.winmd)
- A compiled XAML file (.baml) Binary XAML file.
- dotPeek also open archives (.zip, .vsix, or .nupkg) and folders.
- Load NuGet packages (and their dependencies)
dotPeak tool applications:
This tool is beneficial in the below list of scenarios.
Lost source code:
Suppose, assume that you have a .NET library (.dll) or .NET executable (.exe) for which the respective source code you have lost it. In this case, you can decompile the .NET library (.dll) or executable (.exe) and get the code back by using this tool. Further, you can save this code as a Visual Studio project (.csproj) file. Like this, you can save a lot of time restoring the lost source code from a legacy assembly and executable.
Cross check binary on-demand:
dotPeak decompiler tool is essential during any issue investigation to see the code modules directly from the deployed binaries. You can easily cross-check with the decompiled binary source code and investigate the issue.
– Article ends here –