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?")

Published 26 October 03 12:35 by Adam Nathan
Filed under:

Comments

# Online Coupons said on April 12, 2004 6:28 AM:
Enjoy your trip, adam.
# Read Print said on April 12, 2004 6:37 AM:
Free books for students, teachers, and the classic enthusiast.
# asdf said on June 14, 2004 8:10 AM:
That code on MSDN is incorrect and doesn't do complete error checking.
# Sex Girl BBS said on July 27, 2004 11:15 AM:
Sex Girl BBS
http://www.dd20.com
http://www.waxw.com
Girl Music
http://music.waxw.com
New Comments to this post are disabled
Page view tracker