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.
Namespace:
Rebex.TerminalEmulation
Assembly:
Rebex.Terminal (in Rebex.Terminal.dll)
Syntax
Visual Basic |
---|
Public Sub SendCommand ( _ command As String, _ password As Boolean _ ) |
C# |
---|
public void SendCommand( string command, bool password ) |
Parameters
- command
- Type: System..::..String
Command to send.
- password
- Type: System..::..Boolean
The command is a password - the server either sends back different characters or none at all.