关于[Calling Windows APIs in .NET5]的摘要:
With the release of .NET5 Preview 8, we have introduced a streamlined way for .NET developers to access the set of Windows Runtime (WinRT) APIs that are shipped as part of Windows. NET5 applications can now access Windows APIs through a new set of Target Framework Monikers (TFMs), which have been extended to support platform specific APIs. This is the recommended mechanism for .NET going forward. For more information on this change, please refer to the .NET5 Preview 8 announcement.
原文地址: https://blogs.windows.com/windowsdeveloper/2020/09/03/calling-windows-apis-in-net5/