HOOK C# method in DLL

冷暖自知 提交于 2019-12-07 16:12:21

问题


I have C# application which calls SUM() function from a DLL.

I want to hook that SUM() function in the DLL and manipulate the instructions by injecting my DLL into the process of C# application.

Please reply.


回答1:


Please see this http://www.codeproject.com/Articles/463508/Net-CLR-Injection-Modify-IL-Codes-on-Run-time

You can do that by modifying the IL code on runtime



来源:https://stackoverflow.com/questions/11101223/hook-c-sharp-method-in-dll

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!