Ssh.RunCommand Method
Namespace: Rebex.Net
Assembly: Rebex.SshShell.dll (version 7.0.9313)
RunCommand(String)
Runs a remote command and returns its response. Returns null reference (Nothing in Visual Basic) if the end of response has been reached without any preceding data.
Declaration
public string RunCommand(string command)
Parameters
| Type | Name | Description |
|---|---|---|
| String | command | Command to run. |
Returns
| Type | Description |
|---|---|
| String | Command response if available; or null reference (Nothing in Visual Basic). |