如何编辑.net DLL中的C#代码 [英] How to edit C# code in a .net DLL
本文介绍了如何编辑.net DLL中的C#代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用了很多反编译器,但是经验太少,无法理解我可以编辑DLL中特定对象的c#代码。是否可以简单地编辑C#代码并保存更改?如果是这样,我该怎么做?
I have used many decompilers but have too little experience to understand where it is that I can edit the c# code of specific objects within the DLL. Is it possible to simply edit the C# code and save the changes? If so how could I go about doing this?
TL:DR
如何编辑DLL中的C#代码,我没有源代码?
TL:DR How do I edit C# code inside a DLL that I do not have the source code for?
推荐答案
您可以编辑&补丁.NET DLL / EXE与 https://github.com/0xd4d/dnSpy
You can edit & patch .NET DLL/EXE with https://github.com/0xd4d/dnSpy
为我工作得很好。
这篇关于如何编辑.net DLL中的C#代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文