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

Rexec .NET Component

Looking for an SSH Component?

Use the Rexec component to execute a command on a remote host. Features include:

  • Use Rexec with a single line of code.
  • Use synchronously or asynchronously.
  • Use Rexec on the default port, or a specified port.
  • Extensive documentation includes Rexec quick starts.
  • Installation includes Rexec 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
Rexec. Initialize a new instance of the Rexec 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 Rexec.BeginExecute request completes.

Code Example

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

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

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