[DllImport("coredll.dll", SetLastError = true)] public static extern void keybd_event( byte bVk, byte bScan, int dwFlags, int dwExtraInfo );
Microsoft documentation: Link
Last updated 1 year ago