private IntPtr HookCallback(int nCode, IntPtr wParam, IntPtr lParam) { try { LowLevelKeyboardHook?.Invoke(nCode, wParam, lParam); } catch { } return(CallNextHookEx(hookId, nCode, wParam, lParam)); }