private static void TryStopHook()
        {
            lock (locker)
            {
                if (keyboardHook == null) return;

                keyboardHook.Dispose();
                keyboardHook = null;
            }
        }
        private static void TryStartHook()
        {
            lock (locker)
            {
                if (keyboardHook != null) return;

                keyboardHook = new KeyboardHook();
            }
        }