recognise assembly as managed code
-
Hi, can anybody tell me the way how I can determine wheather an assembly is managed or not programatically. I need to load the assembly at runtime and then need to dertermine wheather its managed or unmanaged. thanks in advance, regards, Aryadip. Cheers !! and have a Funky day !!
-
Hi, can anybody tell me the way how I can determine wheather an assembly is managed or not programatically. I need to load the assembly at runtime and then need to dertermine wheather its managed or unmanaged. thanks in advance, regards, Aryadip. Cheers !! and have a Funky day !!
-
If it is not managed, you will get an exception. Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!
-
Hi, can anybody tell me the way how I can determine wheather an assembly is managed or not programatically. I need to load the assembly at runtime and then need to dertermine wheather its managed or unmanaged. thanks in advance, regards, Aryadip. Cheers !! and have a Funky day !!
From the horse's mouth: http://blogs.msdn.com/suzcook/archive/2004/03/17.aspx[^] Stability. What an interesting concept. -- Chris Maunder
-
Hi, can anybody tell me the way how I can determine wheather an assembly is managed or not programatically. I need to load the assembly at runtime and then need to dertermine wheather its managed or unmanaged. thanks in advance, regards, Aryadip. Cheers !! and have a Funky day !!
It you'd like an easy way to determine if something is an assembly in Windows Explorer (I know this isn't what you're looking for, but you might like it anyway), see my free shell extension on this site - with source included - Shell Extensions for .NET Assemblies[^]. A couple column providers are also provided to custom a detailed view in Windows Explorer. There's also code in there that shows how you determine if an executable is an assembly or not by navigating through the virtual tables in the PE/COFF header. There is a managed way to do this as well, but I can't seem to find it.
Microsoft MVP, Visual C# My Articles