关于[Using .NET PInvoke for Linux system functions]的摘要:
If you’ve developed Windows applications with .NET, you may have found yourself in a situation where the framework did not provide the APIs you needed. When that happens, you first need to identify the system APIs and then make them available using PInvoke. A website like pinvoke.net provides copy-and-pasteable code snippets for many Win32 API functions. .NET Platform Invoke (PInvoke) makes it easy to consume native libraries. In this article, we’ll take a look at using PInvoke for Linux system functions.
原文地址: https://developers.redhat.com/blog/2019/03/25/using-net-pinvoke-for-linux-system-functions/