Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Extract C# Code From .exe

Tags:

c#-2.0

Im facing a Problem my HDD died and I lost many application which I made on Visual C# But I have an exe for most of them as backup but no codes is there a program that extract the code from an .exe

like image 469
Tony Avatar asked Jan 11 '10 09:01

Tony


1 Answers

Use

.NET Reflector for this

.NET Reflector enables you to easily view, navigate, and search through, the class hierarchies of .NET assemblies, even if you don't have the code for them. With it, you can decompile and analyze .NET assemblies in C#, Visual Basic, and IL.

Edit

Reflector.FileDisassembler

The Reflector.FileDisassembler is a little add-in for the new version of Lutz Roeder's .NET Reflector that you can use to dump the decompiler output to files of any Reflector supported language (C#, VB.NET, Delphi). This is extremely useful if you are searching for a specific line of code as you can use VS.NET's "Find in Files" or want to convert a class from one language to another.

like image 82
rahul Avatar answered Oct 11 '22 16:10

rahul