reflection - Loading types from .NET executables -


Is the loading type compiled in executable (.exe) .dll compared to dynamically loading types .NET assembly?

What is the best and fastest way to test .exe and .dll if it is a .NET executable or not (not only a big fan of BadImageFormatException)?

Thank you.

The XE and DLL files are not very different in Windows, and even less. In the net It is essentially the entry point and some other details are the case. (.NET DLL has an entry point, but you do not apply it. In the native code it is called DllMain.)

To test if this is a NET assembly, then I only reflection To load it and catch the exception. But if you really want to avoid that, check it out.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -