Sample: WinFormClient - GUI Telnet Client
A complete Windows Forms Telnet client.

A fully featured ANSI terminal emulator application that can connect to remote Telnet servers.
Interactive applications like Midnight Commander are fully supported.
-
In addition to the basic functionality, it can save your terminal screen as an HTML or image file
(check out the ANSI convertor sample for list of available formats).
-
Also, a unique feature of Rebex Telnet is demonstrated - an ability to save a log of your
session that can be replayed as a video using the ANSI player sample!
(Check out the
Recording communication tutorial
for information how to record your sessions.)
This sample demonstrates the following features:
- Terminal emulation using TerminalControl and Telnet classes.
- Setting terminal options.
- Setting terminal font.
- Capturing the terminal screen into numerous formats.
- Resizing the terminal screen and handling the RemoteResize event.
- Handling the Disconnected event.
- Recording your sessions.
C#
// create a new Telnet object
Telnet telnet = new Telnet("hostname");
// bind the Telnet instance to the terminal control (it connects to the Telnet server)
terminalControl.Bind(telnet);
VB.NET
' create a new Telnet object
Dim telnet = New Telnet("hostname")
' bind the Telnet instance to the terminal control (it connects to the Telnet server)
terminalControl.Bind(telnet)
See also: