Command Property
The command to be sent to the remote host.
Syntax
[VB.NET] Public Property Command As String
[C#] public string Command {get; set;}
Remarks
This property contains the command to be sent to the remote host. Assigning a UNIX command to this property makes the component attempt to connect to the RemoteHost and execute the command using the rshell protocol. There is no need to append an end-of-line character to the command.
If "" (empty string) is assigned to the Command property, the current connection is broken.
Example (Execute a Command)
RshellControl.Command = "cd /home/username/; ls -al; cd/; ls"
Default Value
""