2

Can you tell me what changes between libraries external managed and unmanaged? is the exact same thing between managed and unmanaged code?

missenna
  • 87
  • 1
  • 2
  • 9
  • I'd imagine it means the same thing, unless you're using "managed external libraries" as something other than an external library with managed code. – Drew McGowen Dec 04 '14 at 17:22
  • Take a look at this question: http://stackoverflow.com/questions/3563870/difference-between-managed-and-unmanaged – cost Dec 04 '14 at 18:03

1 Answers1

5

Yes, a managed library contains .NET code (also called an assembly), an unmanaged library contains native code of some sort (C++, VB6 or similar).

External usually means that you didn't compile it yourself but use a 3rd party component.

To check whether as assembly is managed or not,

  • I open it in dotPeek. If it is .NET, it will say something like "msil", otherwise "not supported".
  • Another option is ILSpy, which will say "This file does not contain a managed assembly."
  • The tool ILDASM comes with the Windows SDK and says "no valid CLR header" in case of native assemblies.
  • You could also see if it has mscoree (.NET) as a dependency
Thomas Weller
  • 55,411
  • 20
  • 125
  • 222