Method SendKey
SendKey(Key, ModifierKeys)
Sends key. This methods calls SendKeyDown(Key, ModifierKeys) and SendKeyUp(Key, ModifierKeys).
public virtual bool SendKey(Key keyCode, ModifierKeys modifiers = ModifierKeys.None)
Parameters
keyCode
Keymodifiers
ModifierKeys