Find out if .NET in use

A

Alain Dekker

Is there any way to find out where an application uses .NET / NGEN / CLR,
etc? Basically, I'd like to be given the choice to refuse to use or buy
applications that use managed code, and onlyuse applications using native
code.

Thanks in advance,
Alain
 
V

Vista Succubus Hunter

Alain said:
Is there any way to find out where an application uses .NET / NGEN / CLR,
etc? Basically, I'd like to be given the choice to refuse to use or buy
applications that use managed code, and onlyuse applications using native
code.

Thanks in advance,
Alain
When it blows up you'll know as it calls for the .Net Framework.
 
J

Jeroen Mostert

Alain said:
Is there any way to find out where an application uses .NET / NGEN / CLR,
etc? Basically, I'd like to be given the choice to refuse to use or buy
applications that use managed code, and onlyuse applications using native
code.
I'm not even going to ask why, since I have a feeling I'd regret it.

Hum. Install a clean copy of Windows XP and never install .NET. Applications
that use it will then refuse to run. Problem solved. Alternatively, do
install .NET (or an operating system where .NET is preinstalled) and delete
%WINDIR%\System32\mscoree.dll. You may need to work around Windows File
Protection to get this done.

There is a small chance an application will not immediately refuse to run
but only somewhere during its execution when it spins up the CLR, using
dynamic loading even for the initial call. They're a minority and there's no
reasonable way of detecting these. Using the above methods, they will fail
as soon as they try to use the CLR.

If you want to know before you even install the application, ask the vendor.
Anyone who's really interested in your money will answer a reasonable question.
 
F

Family Tree Mike

Alain said:
Is there any way to find out where an application uses .NET / NGEN / CLR,
etc? Basically, I'd like to be given the choice to refuse to use or buy
applications that use managed code, and onlyuse applications using native
code.

Thanks in advance,
Alain

The same way you prohibit Java or vb6 apps, which are similar in nature.
For those, you prohibit the runtime elements from being installed.
Just prohibit .net from being installed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top