Decompile your .NET Code FREE using ILSpy
A decompiler is a computer program that takes an executable file as input, and attempts to create a high level, compilable source file that does the same thing. It is therefore the opposite of a compiler, which takes a source file and makes an executable. Decompilers are considered as important tool in the process of reverse engineering.
ILSpy is the open-source .NET assembly browser and decompiler.
ILSpy has got almost all the features which we wish a decompiler should have. Listing few of them here, rest you can find on their website.
- Assembly browsing
- IL Disassembly
- Support C# 5.0 “async“
- Decompilation to C#
- Supports lambda’s and ‘yield return‘
- Shows XML documentation
- Decompilation to VB
- Saving of resources
- Save decompiled assembly as .csproj
- Search for types/methods/properties (substring)
- Hyperlink-based type/method/property navigation
- Base/Derived types navigation
- Navigation history
- Save Assembly as C# Project
- Find usage of field/method
How to use ILSpy?
It’s very simple and easy to use ILSpy.
- Log on to http://ilspy.net
- Click on Download Binaries option
- Extract the downloaded zip files and run ILSpy.exe
- Click Open from File menu and navigate to the .DLL file you want to decompile.
This is how ILSpy looks at the time of writing this blog post.
Decompile Your .NET Code FREE Using ILSpy
List of Other Free Decompilers
There are plenty of decompilers available out there, you need to be wise enough to choose the right one as per your requirements. I will list a few of the popular one’s:
I have tried my level best to explain the topic – decompile your .NET code FREE using ILSpy. Hope this post turns out to be an utmost useful one for you.
What do you think?
If you have any questions or suggestions please feel free to email us or put your thoughts as comments below. We would love to hear from you. If you found this post or article useful then please share along with your friends and help them to learn.