PowerTCP Emulation for .NET
Execute(String,String,String) Method




The login name of the user as known to the server.
The command to execute.
Login name of the user on the client host.
Execute a command on the Rsh server.
Syntax
Public Overloads Sub Execute( _
   ByVal username As String, _
   ByVal command As String, _
   ByVal clientUsername As String _
) 
Dim instance As Rsh
Dim username As String
Dim command As String
Dim clientUsername As String
 
instance.Execute(username, command, clientUsername)
public void Execute( 
   string username,
   string command,
   string clientUsername
)
public: void Execute( 
   string* username,
   string* command,
   string* clientUsername
) 
public:
void Execute( 
   String^ username,
   String^ command,
   String^ clientUsername
) 

Parameters

username
The login name of the user as known to the server.
command
The command to execute.
clientUsername
Login name of the user on the client host.
Remarks

This method executes the command specified by command. A Read method should be used to get the results.

The username is the login name of the user as known on the server. The clientUsername may be used if the client username differs from the server username.

Use Connect(TcpSession) to connect to a port other than 514.

See Also

Reference

Rsh Class
Rsh Members
Overload List


PowerTCP Emulation for .NET Documentation Version 4.7
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic