Method SendKeys
SendKeys(char, ConsoleKey, bool, bool, bool)
Allows sending keys without typing on a keyboard.
public override void SendKeys(char keyChar, ConsoleKey key, bool shift, bool alt, bool control)
Parameters
keyCharcharThe character key.
keyConsoleKeyThe key.
shiftboolIf shift key is sending.
altboolIf alt key is sending.
controlboolIf control key is sending.