我可以从 C# 在远程应用程序域中注入一个线程吗 [英] Can I inject a thread in a remote app domain from C#

查看:28
本文介绍了我可以从 C# 在远程应用程序域中注入一个线程吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否可以将线程注入在单独进程中运行的远程应用程序域.

I was wondering if its possible to inject a thread into a remote app domain running in a separate process.

我的猜测是我可以使用调试接口 (ICorDebug) 来做到这一点,但我想知道是否还有其他方法?

My guess is that I could do this using the debugging interfaces (ICorDebug) but I was wondering if there is any other way?

推荐答案

这可以在 snoop 中有示例代码 它设置了一个钩子,并使用托管 C++ 告诉应用程序域加载程序集.真的令人印象深刻......

This can be done there is sample code in snoop It sets up a hook, and using managed c++ tells the appdomain to load an assembly. Really impressive ...

这篇关于我可以从 C# 在远程应用程序域中注入一个线程吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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