How do you extract classes' source code from a

2020-02-08 11:07发布

Is there any software to do this? I didn't find any useful information on the internet so I am asking here.

10条回答
霸刀☆藐视天下
2楼-- · 2020-02-08 11:41

If you want to know only some basics inside the dll assembly e.g. Classes, method etc.,to load them dyanamically

you can make use of IL Disassembler tool provided by Microsoft.

Generally located at: "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin"

查看更多
爷、活的狠高调
3楼-- · 2020-02-08 11:42

You can use dotPeek The only thing I have to say is that when using it, right-click on the class to select Decompiled Source instead of double-clicking, otherwise dotpeek will only display the contents of the local cs file, not the decompiled content. Option instance

查看更多
Summer. ? 凉城
4楼-- · 2020-02-08 11:49

You can use Reflector and also use Add-In FileGenerator to extract source code into a project.

查看更多
ら.Afraid
5楼-- · 2020-02-08 11:50

Only managed Languages like c# and Java can be decompiled completely.You can view complete source code. For Win32 dll you cannot get source code.

For CSharp dll Use DotPeek becoz it free and works same as ReDgate .Net Compiler

Have fun.

查看更多
【Aperson】
6楼-- · 2020-02-08 11:52

You cannot get the exact code, but you can get a decompiled version of it.

The most popular (and best) tool is Reflector, but there are also other .Net decompilers (such as Dis#). You can also decompile the IL using ILDASM, which comes bundled with the .Net Framework SDK Tools.

查看更多
看我几分像从前
7楼-- · 2020-02-08 11:52
登录 后发表回答