Can you tell me what changes between libraries external managed and unmanaged? is the exact same thing between managed and unmanaged code?
Asked
Active
Viewed 7,289 times
2
-
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 Answers
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
-
@missenna: I've added that to my answer. At the moment I think you expected some tools to check for .NET, not some code. – Thomas Weller Dec 04 '14 at 20:53
-
-
-
-
-
@not2qubit: The question was how to find out whether or not it's a managed assembly. The message tells that, you confirm the question by a button, you got the information you wanted and the case is solved - isn't it? – Thomas Weller Feb 07 '17 at 18:36