IsManaged
I'm about to catch my flight for the PDC, but I wanted to archive the following before I go:
In one of our session's demos on Tuesday, I'll be briefly mentioning C# code that determines whether a given file is a managed or unmanaged binary by inspecting its PE header. Here is the C++ code it's based on, in case you want to check it out. (Look for the part of the page that says, "Is there any way to find out if a given DLL is managed or unmanaged without trying to load it?")
Comments
- Anonymous
April 11, 2004
Enjoy your trip, adam. - Anonymous
April 11, 2004
Free books for students, teachers, and the classic enthusiast. - Anonymous
June 14, 2004
That code on MSDN is incorrect and doesn't do complete error checking. - Anonymous
July 27, 2004
The comment has been removed