简体   繁体   English

如何获得启动过程的装配体参考?

[英]How to get assembly reference of started process?

I have started a process with help of below code. 我已经在以下代码的帮助下开始了一个过程。

Process p = Process.Start(@"H:\MyProjects\LyncExtension\Sample\bin\Debug\Sample.exe");

My question is: how to get assembly reference from above statement. 我的问题是:如何从上述声明中获取程序集引用。

Pls help me 请帮助我

Short answer is you can't. 简短的答案是你不能。 Start runs more than .NET applications. Start运行的不仅仅是.NET应用程序。 You could use Assembly.Load independently to try to load the binary... 您可以独立使用Assembly.Load尝试加载二进制文件...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM