Possible Duplicate:
How do I determine if a Process is Managed in C#?
How can I know if a process or a module is managed (.NET) or native programmatically (in C++)?
Possible Duplicate:
How do I determine if a Process is Managed in C#?
How can I know if a process or a module is managed (.NET) or native programmatically (in C++)?
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.