/// <summary>
        ///     Deactivates the on-screen keyboard.
        /// </summary>
        public static void Hide()
        {
            if (!OnScreenKeyboard.IsAvailable())
            {
                return;
            }

            IntPtr windowHandle =
                OnScreenKeyboard.FindWindow(OnScreenKeyboard.TabTipClassName, OnScreenKeyboard.TabTipWindowName);

            if (windowHandle != IntPtr.Zero)
            {
                OnScreenKeyboard.SendMessage(windowHandle, OnScreenKeyboard.WmSyscommand,
                                             new IntPtr(OnScreenKeyboard.ScClose), IntPtr.Zero);
            }
        }
 /// <summary>
 ///     Gets whether the on-screen keyboard is available or not.
 /// </summary>
 /// <returns>
 ///     true if the on-screen keyboard is available, false otherwise.
 /// </returns>
 public static bool IsAvailable() => OnScreenKeyboard.GetExecutablePath() != null;