private static void SendChar(IntPtr hWnd, char c) { int num = c; int num1 = 1 | (Client.OemKeyScan(num) & 255) << 16 | -1073741824; Client.SendMessage(hWnd, 258, num, num1); }
private static void SendChar(IntPtr hWnd, char c) { int num = (int)c; int lParam = 1 | (Client.OemKeyScan(num) & (int)byte.MaxValue) << 16 | -1073741824; Client.SendMessage(hWnd, 258, num, lParam); }