KeyDown(Keys) Method
Presses and holds the specified key using a keyboard virtual key.
C# Syntax
public static void KeyDown( 
   Keyboard.Keys key
)

Parameters

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