public static void KeyUp(VirtualKey virtualKey) { User32.keybd_event((byte)virtualKey, virtualKey.ToScanCode(), (uint)(KeyboardEventFlag.ExtendedKey | KeyboardEventFlag.KeyUp), UIntPtr.Zero); }