Github
https://github.com/dahall/Vanara
封装了所有 windows api 和 枚举 到 C#.
使用非常的方便.
namespace VanaraDemo;
using Vanara.PInvoke;
internal class Program
{
static void Main(string[] args)
{
User32.MessageBox( default, "哈哈哈", null, User32.MB_FLAGS.MB_RETRYCANCEL);
Console.WriteLine("Hello, World!");
}
}