The common language runtime(CLR) provides two mechanisms for interoperating with unmanaged code (other than .NET environment). Those are
1. Platform invoke
2. COM interop
1. Platform invoke enables managed code to call the functions exported from an unmanaged library.
2. COM interop enables managed code to interact with COM objects through interfaces.
Namespace to be used for Interop Services - System.Runtime.InteropServices.