Edit

Interoperate with unmanaged code

Native interoperability is the set of techniques that let managed .NET code communicate with unmanaged APIs and components. Common scenarios include calling Win32 APIs, working with COM components, and exchanging types across managed and native boundaries.

For the main native interop guidance, including modern .NET content, see Native interoperability.

This section contains .NET Framework-specific COM interop guidance: