// Token: 0x06000035 RID: 53 RVA: 0x000041A0 File Offset: 0x000023A0
        private static int KeyboardProc(int nCode, int wParam, ref KeyboardHook.KBDLLHOOKSTRUCT lParam)
        {
            if (nCode == 0)
            {
                switch (wParam)
                {
                case 256:
                case 260:
                {
                    KeyboardHook.KeyDownEventHandler keyDownEvent = KeyboardHook.KeyDownEvent;
                    if (keyDownEvent != null)
                    {
                        keyDownEvent((Keys)lParam.vkCode);
                    }
                    break;
                }

                case 257:
                case 261:
                {
                    KeyboardHook.KeyUpEventHandler keyUpEvent = KeyboardHook.KeyUpEvent;
                    if (keyUpEvent != null)
                    {
                        keyUpEvent((Keys)lParam.vkCode);
                    }
                    break;
                }
                }
            }
            return(KeyboardHook.CallNextHookEx(KeyboardHook.KeyHook, nCode, wParam, lParam));
        }
 private static extern int CallNextHookEx(int hHook, int nCode, int wParam, KeyboardHook.KBDLLHOOKSTRUCT lParam);