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

查看:222
本文介绍了我可以从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?

推荐答案

这是可以做到有样本code中的窥探它设置了一个钩,并用托管C ++告诉AppDomain中加载程序集。真的IM pressive ...

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天全站免登陆