How to determine if a win32 application uses the .NET runtime

How to determine if an executable file is a .NET application?

I prefer not to install Visual Studio. But if I have to. Preferred command line program.

+6
executable
source share
8 answers

PEVerify will do it :)

+12
source share

An application is a .NET executable file if you want to run mscoree.dll. You can verify this using Dependency Walker , but in general, any tool that provides a list of the necessary DLL to run will work.

If you want to know if a running process is a .NET process, I can only recommend Process Explorer . This tool will give you a lot of process information, including some .NET features.

+11
source share

Or simpler: use Process Explorer. Free download here

+6
source share

The core processor sets dotNet applications by default in yellow. That should be enough :)

+6
source share

Move it to Reflector and it will compile.

+2
source share

Even simpler:

  • Open the properties, look at the "Version" tab, if in the "Other information" section you see the "Build version" property, then this is most likely a .NET application.

  • Open the EXE or DLL using notepad or a similar application and find the text "mscorlib" (without quotes). If you find it, most likely it will be a .NET application.

+2
source share

You can use ILDasm.exe, which is installed by default along with the installation of the .Net Framework SDK on your computer (see C: \ Program Files \ Microsoft Visual Studio 8 \ SDK \ v2.0 \ Bin). Just open ildasm.exe en to remove the assembly in it, if it destroyed it .net, if you get an error, it is not.

+1
source share

"I prefer not to install Visual Studio. But if I have to. The command line program is preferred."

You do not need to install Visual Studio only to run the .NET application - only for the .NET platform, which you can download yourself.

But if you want to determine if this is a .NET application, you can download and use the .NET Reflector or use the ILDasm that comes with the .NET framework SDK.

+1
source share

All Articles