如何使用C#打开.DLL文件 [英] How do I open .DLL file using C#

查看:421
本文介绍了如何使用C#打开.DLL文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要打开包含一些代码的dll文件.

如何使用C#.net

I need to open the dll file which contains some code.

How do I open .dll files using C#.net

推荐答案

打开.dll文件,要打开.NET DLL文件,
使用Reflection在运行时在C#中加载未引用的程序集 [ ^ ]
To open .NET DLL files,
Using Reflection to load unreferenced assemblies at runtime in C#[^]


这可以帮助您从类
中导出文件 您也可以尝试一下!

http://www.red-gate.com/products/dotnet-development/reflector/ [ ^ ]
this can help you to export file from class
you may try this also !!!

http://www.red-gate.com/products/dotnet-development/reflector/[^]


您需要使用.net反编译器,例如:
1. jetbrains [ ^ ]
2. ilspy [^ ]
You need .net decompiler like:
1. jetbrains[^]
2. ilspy[^]


这篇关于如何使用C#打开.DLL文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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