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.

Return Value

Command response.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also