Scripting.Send Method
Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.dll (version 7.0.9083)
Send(String)
Sends text to the server.
Declaration
public void Send(string text)
Parameters
Type | Name | Description |
---|---|---|
String | text | Text to be sent. |
Send(ConsoleKeyInfo)
Sends a key to the server. This is used for sending simple keys or combinations such as Ctrl+C.
Declaration
public void Send(ConsoleKeyInfo key)
Parameters
Type | Name | Description |
---|---|---|
ConsoleKeyInfo | key | Key to be sent. |
Send(FunctionKey)
Sends a key to the server. This is used for sending function keys such as Enter or F10.
Declaration
public void Send(FunctionKey key)
Parameters
Type | Name | Description |
---|---|---|
FunctionKey | key | Key to be sent. |
Send(FunctionKey, ConsoleModifiers)
Sends a key to the server.
Declaration
public void Send(FunctionKey key, ConsoleModifiers modifiers)
Parameters
Type | Name | Description |
---|---|---|
FunctionKey | key | Key to be sent. |
ConsoleModifiers | modifiers | Modifiers for the key such as Alt, Shift or Ctrl. |
Send(ConsoleKey, ConsoleModifiers)
Sends a key to the server.
Declaration
public void Send(ConsoleKey key, ConsoleModifiers modifiers)
Parameters
Type | Name | Description |
---|---|---|
ConsoleKey | key | Key to be sent. |
ConsoleModifiers | modifiers | Modifiers for the key such as Alt, Shift or Ctrl. |