Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to decompile the whole .NET application?

I know that .NET apps are difficult to protect. I use RedGate Reflector and know that generally speaking you can get source code from many .NET dlls.

however my question is - is it actually feasible to decompile the whole application?

I mean - create a workable VS solution so the pirate can just press F5 and get the exactly same result as if the author on his machine?

like image 485
Boppity Bop Avatar asked Jun 23 '10 19:06

Boppity Bop


People also ask

Is it possible to decompile C#?

You can now use Visual Studio to decompile managed code even if you don't have the symbols, allowing you to look at code, inspect variables and set breakpoints.

Is C# easy to decompile?

C# is inherently easier to decompile into source code because it contains meta-data and most C# code must comply with a set of rules called "verifiable code". Decompilers take advantage of the adherence to these rules along with attached metadata to make decompilation much better than equivalent C++ decompilers.

Can you decompile with Visual Studio?

Decompilation is only available in Visual Studio 2019 16.5 and later.

What is .NET decompiler?

A . NET decompiler (also called c# decompiler) is a third party tool used to decompile all types of . NET binaries and libraries. Since . NET applications and executable files are compiled in IL code, in order to read the code and understand its operation, you have to convert (decompile) the IL code to C# code.


1 Answers

Reflector have few plugins that allows to dump assembly into code:

http://www.denisbauer.com/home/reflectorfiledisassembler

http://filegenreflector.codeplex.com/

But I'm not sure that can create a project file.

like image 120
STO Avatar answered Sep 20 '22 13:09

STO