Runs a remote command and returns its response.
Namespace:
Rebex.Net
Assembly:
Rebex.SshShell (in Rebex.SshShell.dll)
Syntax
Visual Basic |
---|
Public Function RunCommand ( _ command As String _ ) As String |
C# |
---|
public string RunCommand( string command ) |
Parameters
- command
- Type: System..::..String
Command to run.