Is a process a .net process?

  • Thread starter Thread starter Mario Beutler
  • Start date Start date
Mario,
How can I check if a process a .net process or a "normal" win32
process?

What's your definiton of a ".NET process"? Do you want to check it
manually or programmatically?

If mscoree.dll is loaded in the process there's a good chance it has
something to do with .NET.

There are also the ICorPublish family of COM interfaces you can use
for this (see especially ICorPublishProcess::IsManaged).

http://msdn2.microsoft.com/en-us/library/ms231592.aspx


Mattias
 
Mattias, thank you for your answer.
I want to check it programmatically.
What's your definiton of a ".NET process"?

It use the .Net framework. It does run without the .NET framework. It
is written with .NET language (VB.NET, C#, Delphi.Net).
So I think, looking for mscoree.dll is a good solution.

Mario
 
Back
Top