Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I decompiling IL code of .net framework

I want to investigate IL code of most .net framework library classes. Is it possible? I am trying to decompiling some dll (e.g.: System.Treading), and I only see signature of the functions. Then I go to mscorlib.dll and see only manifest. There is a way to see the real code?

like image 433
OpenUser Avatar asked Sep 03 '25 05:09

OpenUser


2 Answers

You can use .NET Reflector (commercial but very good):

https://www.red-gate.com/products/dotnet-development/reflector/

You can open a .net assembly with it (.exe or .dll).

So you can also directly browse .NET Framework assemblies by selecting the framework version.

Select view IL or other language such as C# or VB code and it is done.

There is also for example this free tool (slow, very slow):

https://www.jetbrains.com/decompiler/

Personnaly to decompile IL code i use ILspy , it's lightweight tool and easy to use .

you can found it in the link below :

https://sourceforge.net/projects/ilspyportable/

Best Regards .

like image 31
sayah imad Avatar answered Sep 04 '25 22:09

sayah imad



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!