Version: 4.4.7.0
Add secure Telnet, rsh, rexec and rlogin connectivity to any .NET application or service.

Code Examples

These code snippets can be copied and pasted into your project.

Code Snippet Description
Automated Session Demonstrates how to write a scripted automated session.
Option Negotiation Demonstrates how to manually handle telnet option negotiation.
Receive and Display Data Demonstrates how to receive and display data asynchronously, without blocking the UI.

Sample Projects

Samples are working applications demonstrating Sockets for .NET components in C#, VB.NET and C++/CLI. Source code included.

 

Name Description
Automated Client Demonstrates execution of an automated Windows Forms application using Telnet.
Rexec Client Demonstrates execution of a command using Rexec. Windows Forms application.
Rlogin Client Demonstrates a user-interactive Rlogin Windows Forms application.
Rsh Client Demonstrates execution of a command using Rsh. Windows Forms application.
Telnet Client Demonstrates a user-interactive Telnet Windows Forms application.
Automated Console Demonstrates use of Telnet in a console application. Windows Forms application.
PTY Client Demonstrates use of the Pty feature, which adds a TextBox interface to the Telnet component. Windows Forms application.
Automated Web Demonstrates use of Telnet on a web page. C#, VB source.

 Download Telnet Sample Projects

After downloading, you will need to unblock the zip before extracting it: locate the zip in Windows explorer, right-click on it, select 'Properties', and click the 'Unblock' button in the bottom-right corner of the General tab.

This will resolve the compile-time exception 'Could not load file or assembly 'Dart.*****' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)'.