/// <summary> /// Is capslock engaged? /// </summary> /// <returns></returns> public static bool IsNumLockOn() { return(User32Interop.GetKeyState(VK_NUMLOCK) != 0); }
/// <summary> /// Is capslock engaged? /// </summary> /// <returns></returns> public static bool IsCapsLockOn() { return(User32Interop.GetKeyState(VK_CAPITAL) != 0); }