将流程或模块标识为托管/本机 [英] Identifying a process or a module as managed/native
本文介绍了将流程或模块标识为托管/本机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可能的重复:
如何确定进程是否在C#?
我如何知道进程或模块是以编程方式 (.NET) 还是本机方式(在 C++ 中)?
How can I know if a process or a module is managed (.NET) or native programmatically (in C++)?
推荐答案
我手边没有 PE 规范 - 您可以从 msdn.com 下载它 - 但托管模块通常会有一个 CLR 标头并导入 mscoree.dll.
I don't have the PE spec handy - you can download it from msdn.com - but a managed module will typically have a CLR header and imports mscoree.dll.
这篇关于将流程或模块标识为托管/本机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文