Sends a key to the server.
Namespace:
Rebex.TerminalEmulation
Assembly:
Rebex.Terminal (in Rebex.Terminal.dll)
Syntax
Visual Basic |
---|
Public Sub Send ( _ key As ConsoleKey, _ modifiers As ConsoleModifiers _ ) |
C# |
---|
public void Send( ConsoleKey key, ConsoleModifiers modifiers ) |
Parameters
- key
- Type: Rebex.TerminalEmulation..::..ConsoleKey
Key to be sent.
- modifiers
- Type: Rebex.TerminalEmulation..::..ConsoleModifiers
Modifiers for the key such as Alt, Shift or Ctrl.