Possible Duplicate:
How do I tell if a win32 application uses the .NET runtime
There is a way to manually recognize if a specific “.exe” process was written with C++(unmanaged code) or with C#(managed code)?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you’re trying to determine if a process is a .NET process, I can suggest a solution inspired from Dave Van den Eynde’s answer in this topic: How do I tell if a win32 application uses the .NET runtime
“An application is a .NET executable if it requires mscoree.dll to run.”.
Given that, you check the process’ modules to see if mscoree is listed.