How does the system determine whether a given DLL is a .NET DLL or a Win32 DLL?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
DLL and Exe files on Windows conform to the Portable Executable (PE) file format (see here for details).
.Net meta data is stored in the PE file in the CLR Data section.
If the PE file has a CLR Data section then the DLL or Exe is a .Net Assembly. If it doesn’t then, AFAIK, it isn’t.
See here for more details on the PE file format.