有什么办法可以将.dll文件转换为.cs文件 [英] Is there any way to convert .dll file to .cs files

查看:415
本文介绍了有什么办法可以将.dll文件转换为.cs文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以将.dll文件转换为.cs文件?
我正在搜索任何可以将.dll文件转换为.cs文件的工具或在线网站。
如果有人有任何信息,请提前告知

Is there any way to convert .dll file to .cs files? I am searching for any tool or online website what can convert .dll file into .cs files. If any one have any info please inform Thanks in advance.

推荐答案

不,通常,

您可以将.NET的二进制文件反编译为CIL(通用中间语言),这是一种面向对象的汇编语言。各种.NET语言(C#,F#,Visual Basic等)被编译为字节码,然后由.NET虚拟机而不是处理器执行。

You can decompile binaries for .NET into CIL (Common Intermediate Language), which is an object-oriented assembly language. Various .NET languages (C#, F#, Visual Basic, etc.) are compiled into the bytecode, which is then being executed by the .NET virtual machine rather than by the processor.

由于.NET字节码是独立于平台的,因此可以在没有.NET虚拟机存在的任何平台上执行,而无需重新编译。

Thanks to that the .NET bytecode is platform independent, it can be executed on any platform for which the .NET virtual machine exists without the recompilation.

您可以使用以下免费反编译器将.NET二进制文件反编译为CIL:

You can decompile the .NET binaries into CIL using for example these free decompilers:

  • ILSpy (standalone or as a Visual Studio extension)
  • JetBrains' dotPeek
  • Telerik's JustDecompile

dotPeek具有以下功能将任何.NET二进制文件反编译为等效的C#代码,但与原始C#代码不同。

dotPeek has a feature to decompile any .NET binary into equivalent C# code, but it's not same as the original C# code.

这篇关于有什么办法可以将.dll文件转换为.cs文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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