Sends command to SSH host terminated by command terminator.
Waits until specified prompt is returned by SSH server buffering response data.
Namespace: Jscape.SshAssembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0
Syntax
C# |
---|
public string SendWait(
string command,
string prompt
) |
Visual Basic |
---|
Public Function SendWait ( _
command As String, _
prompt As String _
) As String |
Visual C++ |
---|
public:
String^ SendWait(
String^ command,
String^ prompt
) |
Parameters
- command
- Type: System..::..String
the command to send
- prompt
- Type: System..::..String
the prompt to wait for
Return Value
the server response
See Also