Method SendKeys
SendKeys(char, ConsoleKey, bool, bool, bool)
Allows sending keys without typing on a keyboard.
public abstract void SendKeys(char keyChar, ConsoleKey key, bool shift, bool alt, bool control)
Parameters
keyChar
charThe character key.
key
ConsoleKeyThe key.
shift
boolIf shift key is sending.
alt
boolIf alt key is sending.
control
boolIf control key is sending.