The .Net Native Interface Library (DotNetNativeInterface) is a native programming interface which provides a way for programming languages such as C, C++, Fortran, Assembly, Pascal, Java, VB etc to interact with applications and libraries written in any of the .Net languages (such as C#, VB.Net etc). Programmers can use DotNetNativeInterface native methods to access .Net 3rd party libraries or .Net Framework Libraries without the need for registry entries, COM registrations or changes to the .Net libraries.
The following examples illustrate when you need to use DotNetNativeInterface native methods:
1. You want to access and use .Net Framework Class Library in your application.
2. You want to access and use 3rd party .Net Libraries in your application.
Competitive Advantages:
1. Access to .Net Framework Class Library.
2. No COM registration of .Net Libraries is required when deployed.
3. Allows any programming language to consume .Net libraries as if they were native code.