Listing functions of an unmanaged DLL at runtime in c#
问题 Is it possible to obtain a list of functions declared in an unmanaged DLL? I want to create this list in a c# program. Using dumpbin or System.Reflection.Assembly is not possible. Thanks 回答1: As far as I know, the only way you can do this either: Use a utility (such as dumpbin) and analyse its output from your C# code. Open the target DLL file and manually work out where the export section of the file is located and read that. You might need the help of too like PE Explorer or similar to help