Share this page

# KeyUp Method (IKeyboardDevice)

Releases the specified key. This method has multiple overloads.

In this topic:

## KeyUp Method (Byte)

Releases the specified key based on its keyboard scan code.

C# Syntax

                            public void KeyUp(
       byte keyScanCode
    )

Parameters

keyScanCode
  The keyboard scan code of the key to release.

## KeyUp Method (Keys)

Releases the specified key based on its keyboard virtual key.

C# Syntax

                            public void KeyUp(
       Keyboard.Keys key
    )

Parameters

key
  The keyboard code of the key to release. Possible values: Keyboard.Keys

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: