WinInteropUtils
WinInteropUtils is a C# library written in .NET 8 that provides managed P/Invoke wrappers for tons of functions you can use, from reading file attributes to interacting with COM interfaces.
The base namespace is FireBlade.WinInteropUtils
.
Warning
WinInteropUtils is still in beta, so bugs may occur. If you experience any bugs, please report them on the Issues page.
How to install (for now)
Because WinInteropUtils isn't a NuGet package yet, to use it, simply download the DLL file, and go into the add references dialog, select Browse, and open the DLL. For a more detailed guide visit the Installation section of the Getting Started page.
Warning
WinInteropUtils is built on .NET 8, so it won't work for .NET Framework projects.