Background
Some years ago, I developed an application in Delphi 6, showing me the exported method headers of native (Win32) libraries. However, that application was no more longer usefull since I started developing with Visual Studio.Net, because I don't like switching between several applications while developing.
The old Delphi code
The following Delphi snippet is a part of the code that has to be converted into C#. The code was hosted inside a COM Library because I wanted to use it with other languages. The COM Library still works fine today (Except, sometimes getting the whole number of methods with Windows 7), but I don't want to use COM Interop in my .Net Applications in future.
Read more: Codeproject