text: You will want to use what is called "P/Invoke" otherwise known as "Platform Invoke".\n\nFor example, to call "FindWindow()" from User32.DLL, you could use the following declaration:\n\n[DllImport("user32.dll", SetLastError = true)]\nstatic extern IntPtr FindWindow(string lpClassName, string lpWindowName);\n\nNote, you will need to use the "System.Runtime.InteropServices" namespace in order to use the DllImport attribute.\n\nA good Wiki for finding the necessary P/Invoke declarations for Win32 API functions from various Win32 system DLLs is included below: