如何从 dll 文件中提取类的源代码? [英] How do you extract classes' source code from a dll file?

查看:39
本文介绍了如何从 dll 文件中提取类的源代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么软件可以做到这一点吗?我在互联网上没有找到任何有用的信息,所以我在这里询问.

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

推荐答案

你无法得到确切的代码,但你可以得到它的反编译版本.

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

最受欢迎(也是最好的)工具是 Reflector,但也有其他 .Net 反编译器(例如 Dis#).您还可以使用 ILDASM 反编译 IL,它与 .Net Framework SDK 工具捆绑在一起.

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.

这篇关于如何从 dll 文件中提取类的源代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆