Shell.SendCommand Method
Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.dll (version 7.0.9448)
SendCommand(String)
Sends a command to the server. This assumes that either there is no command running at the moment or that a question prompt was encountered.
Declaration
public void SendCommand(string command)
Parameters
| Type | Name | Description |
|---|---|---|
| String | command | Command to send. |
SendCommand(String, Boolean)
Sends a command to the server. This assumes that either there is no command running at the moment or that a question prompt was encountered.
Declaration
public void SendCommand(string command, bool password)
Parameters
| Type | Name | Description |
|---|---|---|
| String | command | Command to send. |
| Boolean | password | The command is a password - the server either sends back different characters or none at all. |