Version: 1.0.6
Add Telnet, rsh, rexec and rlogin connectivity to your Windows or Web application.

Rsh .NET Component

Looking for an SSH Component?

Use the Rsh component to easily execute shell commands on a remote host. Features include:

  • Use Rsh with a single line of code.
  • Use synchronously or asynchronously.
  • Use Rsh on the default port, or a specified port.
  • Extensive documentation includes Rsh quick starts.
  • Installation includes Rsh sample.
  • Integrates with all versions of Visual Studio and supports C#, VB.NET, ASP.NET, Delphi 8, C# Builder, and other .NET compliant development environments.

Looking for the ActiveX version of this component?

Interface

Public Constructors
Rsh. Initialize a new instance of the Rsh class.
Public Properties
DoEvents Gets or sets a value that controls the processing of events during blocking method calls.
Editor In Visual Studio.NET, displays an interactive form to use to test real time protocol operations.
Public Methods
BeginExecute Overloaded. Begin to asynchronously execute a command on a remote host.
Execute Overloaded. Execute a command on a remote host.
Public Events
EndExecute Raised when the Rsh.BeginExecute request completes.

Code Example

How easy is the Rsh component to use? Check out the following example below which demonstrates Rsh functionality.

' Execute the pwd command
Dim Seg As Segment = Rsh1.Execute("myserver", "myuser", "mypass", "pwd")

' Display the result
Debug.WriteLine("Current directory: " + Seg.ToString())