Keyboard.CurrentKeyState C# (CSharp) Method

CurrentKeyState() public static method

CurrentKeyState Returns the current physical state of a virtual key, independent of any message processing that is currently occuring.
public static CurrentKeyState ( int vKey ) : short
vKey int one of the virtual key codes
return short
    public static short CurrentKeyState(int vKey)
    {
        return 0;
        //return User32.GetAsyncKeyState(vKey);
    }