PowerTCP Emulation for .NET

from $699.00
Available Platforms

Polished VT Emulation

PowerTCP Emulation for .NET has been re-designed to provide the most advanced VT Emulation and Telnet components available. In addition to a sophisticated VT Display control, it includes all of the classes found in PowerTCP Telnet for .NET. Requires fewer resources, provides more flexibility, and elicits code that is easy to re-use and maintain.

 

  • Utilizes .NET 2.0 features including generics, IPv6, and X509 certificates
  • Secure Socket Layer (SSL/TLS) security is fully integrated
  • Lightweight, single vt.dll streamlines your app

 

Features

  • VT52, VT100, VT220, VT320 terminal support, with many ANSI extensions
  • Versatile
    - use interactively for terminal applications
    - use invisibly for screen-scraping applications
    - integrated scrollback buffer displays scrolled lines
  • Telnet, Rlogin, Rexec and Rsh communication components
  • International characters, including double-high, double-wide Unicode support
  • Screen customization with numerous display options
  • Renders ANSI color schemes
  • TrueType font and ClearType smoothing support provides sharper character cells
  • Graphic characters fully supported for all fonts
  • Comprehensive style information for every cell in the display

 

Easy To Use

  • SetStream() method connects the control to any Stream
  • Key mapping is simplified with a specialized KeyDown event
  • Optional automatic HTML conversion of scraped text
  • Powerful printing capabilities, including auto-print

 

Samples and Documentation

  • Many sample projects for C# and VB.NET (Windows Forms, Console, ASP.NET)
  • Online, MS Help 2.0 and Help Viewer 1.0 integrated documentation
  • .NET Framework 4 Client Profile compatible
  • 64-bit OS support

 

Controls Included in Emulation for .NET

  • Sophisticated VT Display control
  • Telnet, Rexec, Rlogin and Rsh components
  • Many sample projects for both C# and VB.NET, including ASP.NET
  • Comprehensive MS Help 2.0 integrated documentation
  • Free Introductory Support

 

Component Description
Vt Control Display or scrape VT data within any .NET application.
Telnet Component Enables the use of the Telnet protocol within any .NET application.
Rlogin Component Enables the use of the remote login protocol within any .NET application.
Rexec Component Enables the use of the remote execution protocol within any .NET application.
Rsh Component Enables the use of the remote shell protocol within any .NET application.

 

See the complete Emulation for .NET Online Documentation >

 

Supported Environments

All PowerTCP for .NET 4.x components and classes will operate on any Microsoft operating system that fully supports the Microsoft .NET Framework, including 64-bit Windows. .NET components are dependent on the Framework rather than a specific operating system. Products support .NET Framework versions 2.0, 3.0, 3.5, 4.0, 4.5, 4.6 and 4.7. The components can be used with any .NET compliant language, including the following languages:

  • C#
  • VB.NET
  • Managed C++

 

PowerTCP for .NET 4.x components have been tested in the following application environments:

  • Standard Windows desktop applications
  • Console applications
  • ASP.NET web applications and Web Sites
  • Windows service applications
  • Windows Presentation Foundation (WPF) applications
  • Web service applications

 

PowerTCP for .NET 4.x components have been tested in the following development environments:

  • Visual Studio .NET (2005, 2008, 2010, 2012, 2013, 2015, 2017)

 

 

 

 

PowerTCP for .NET components do not currently support execution within Silverlight. If you are interested in using Dart products within your Silverlight solution, contact support@dart.com for more options.

 

Code Examples

These PowerTCP Emulation for .NET code snippets can be copied and pasted into your project.

 

Code Snippet Description
Automated Session Demonstrates how to write a scripted automated session.
Key Mapping Demonstrates how to map a sequence to the press of a key.
Receive and Display Data Demonstrates how to receive and display data asynchronously, without blocking the UI.

 

 

Example Projects

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

 

Sample Name Sample Description
Telnet Client Demonstrates a user-interactive Telnet client using the VT display's SetStream auto send/receive capabilities.
Telnet Client (Independent Data Source) Demonstrates a user-interactive Telnet client using an autonomous data source (in this case, the included Telnet component).
Screen Scraping Demonstrates how to scrape the contents of the VT display.
Web Screen Scraping Demonstrates how to scrape the contents of the VT display on a web page.
Rexec Client Demonstrates execution of a command using Rexec.
Rlogin Client Demonstrates a user-interactive Rlogin client.
Rsh Client Demonstrates execution of a command using Rsh.
Automated Windows Client Demonstrates execution of an automated application using Telnet.
Telnet Automated Console Demonstrates use of Telnet in a console application.
Telnet Automated Web Demonstrates use of Telnet on a web page.

 

 

Additional Sample Projects

These samples demonstrate Emulation for .NET alongside additional PowerTCP products.

Sample Name Sample Description
VT with SSH Client Demonstrates a fully interactive SSH client that utilizes the SSH and SFTP for .NET product.

 

 

Vt .NET Control (Terminal Emulation)

Use the Vt control to integrate terminal emulation capabilities into your Windows application or enable your ASP.NET Web application to communicate with backend UNIX servers for screen scraping. Features include:

  • Includes support for VT320, VT220, VT100, VT52
  • Advanced screen scraping capability
  • Support for graphic characters
  • TrueType Font support
  • ClearType and Standard font smoothing support
  • Supports multinational byte encoding to display international character sets
  • Double-wide Unicode character support
  • Configurable scroll-back buffer
  • Superior printing capabilities
  • Built-in support for Key mapping
  • Unifying Telnet capability makes connectivity as easy as a few lines of code
  • Full support for encoded Unicode characters
  • C#, VB.NET and VC++ sample projects included
  • 64 bit OS support

 

 

Looking for the ActiveX version of this control?

Telnet .NET Component

Looking for an SSH Component?

For SSH support, see PowerTCP SSH and SFTP for .NET >

 

The Telnet component fills the Telnet gap in the .NET Framework by providing easy communication with remote Telnet servers. Features include:

 

  • Login function that automatically sends username and password
  • Automatic and manual option negotiation options for maximum flexibility
  • Explicit and implicit SSL security options
  • Blocking reads that wait for defined delimiters, specifically designed for scripting applications
  • Start method for easily implemented mult-threaded applications, including cross-threading marshaling support
  • PTY property binds a TextBox to the Telnet component as a ready-made interface for interactive online communications
  • Logging event for easy debugging and session logging
  • Proxy support
  • Integrates with versions 2005, 2008 and 2010 of Visual Studio
  • Supports C#, VB.NET, C++/CLI, ASP.NET and other .NET compliant development environments

 

See the complete Emulation for .NET Online Documentation >

Looking for the ActiveX version of this component?

Rlogin .NET Component

Looking for an SSH Component?

For SSH support, see PowerTCP SSH and SFTP for .NET >

 

Use the Rlogin .NET component to easily login to a remote host using rlogin. Features include:

 

  • Login function that automatically sends username and password
  • SSL security options
  • Blocking reads that wait for defined delimiters, specifically designed for scripting applications
  • Start method for easily implemented mult-threaded applications, including cross-threading marshaling support
  • PTY property binds a TextBox to the Telnet component as a ready-made interface for interactive online communications
  • Logging event for easy debugging and session logging
  • Proxy support
  • Integrates with versions 2005, 2008 and 2010 of Visual Studio
  • Supports C#, VB.NET, C++/CLI, ASP.NET and other .NET compliant development environments

 

See the complete Emulation for .NET Online Documentation >

Looking for the ActiveX version of this component?

Rexec .NET Component

Looking for an SSH Component?

For SSH support, see PowerTCP SSH and SFTP for .NET >

 

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

  • Execute function that executes specified commands on the remote host
  • SSL security options
  • Start method for easily implemented mult-threaded applications, including cross-threading marshaling support
  • Logging event for easy debugging and session logging
  • Proxy support
  • Integrates with versions 2005, 2008 and 2010 of Visual Studio
  • Supports C#, VB.NET, C++/CLI, ASP.NET and other .NET compliant development environments

 

See the complete Emulation for .NET Online Documentation >

Looking for the ActiveX version of this component?

Looking for an SSH Component?

For SSH support, see PowerTCP SSH and SFTP for .NET >

 

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

  • Execute function that executes specified commands on the remote host
  • SSL security options
  • Start method for easily implemented mult-threaded applications, including cross-threading marshaling support
  • Logging event for easy debugging and session logging
  • Proxy support
  • Integrates with versions 2005, 2008 and 2010 of Visual Studio
  • Supports C#, VB.NET, C++/CLI, ASP.NET and other .NET compliant development environments

 

See the complete Emulation for .NET Online Documentation >

Looking for the ActiveX version of this component?

Rsh .NET Component

Looking for an SSH Component?

For SSH support, see PowerTCP SSH and SFTP for .NET >

 

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

  • Execute function that executes specified commands on the remote host
  • SSL security options
  • Start method for easily implemented mult-threaded applications, including cross-threading marshaling support
  • Logging event for easy debugging and session logging
  • Proxy support
  • Integrates with versions 2005, 2008 and 2010 of Visual Studio
  • Supports C#, VB.NET, C++/CLI, ASP.NET and other .NET compliant development environments

 

See the complete Emulation for .NET Online Documentation >

Looking for the ActiveX version of this component?

Windows Forms Automated Telnet Session Code Example

Windows Forms Automated Telnet Session Code Example

The following example demonstrates an automated Telnet session in a Windows Forms environment. The session is executed asynchronously, without blocking the UI. The session is written to the VT display.

 

See all PowerTCP Emulation for .NET Samples and Code Examples

 

private void button1_Click(object sender, EventArgs e)
{
    //This application has a User-Interface, which we do not want to block.
    //Start launches the specified method on a worker thread.
    //Event handlers execute on the UI thread.
    telnet1.Start(automateSession, null);
}

private void automateSession(object notUsed)
{
    //This function performs an automated telnet session using blocking calls.
    //Use the Start method to execute this function on a worker thread.
    try
    {
        //Connect to the server
        telnet1.Connect("myServer");

        //Login and marshal data to the UI thread
        telnet1.Marshal(telnet1.Login(new Credentials("myUser""myPass""~$")), ""null);

        //Send a list command
        telnet1.Write("ls -la\r");

        //Wait for prompt, marshal data to the UI thread
        telnet1.Marshal(telnet1.ReadToDelimiter("~$"), ""null);

        //Send an exit command; server will close the connection
        telnet1.Write("exit\r");

        //Read any remaining data before the shutdown
        telnet1.Marshal(telnet1.ReadToEnd(), ""null);
    }
    catch (Exception ex)
    {
        //Report errors to the UI thread
        telnet1.Marshal(ex);
    }
}

void telnet1_Data(object sender, DataEventArgs e)
{
    //Add data received to the VT display
    if (e.Data != null) vt1.Write(e.Data.ToString());
}

void telnet1_Error(object sender, ErrorEventArgs e)
{
    //Add error messages to the VT display
    vt1.Write(e.GetException().Message);
}

void telnet1_StateChanged(object sender, EventArgs e)
{
    //Indicate in app title when connected
    this.Text = (telnet1.State == Dart.Emulation.ConnectionState.Closed)
        ? "Automated Session Demo"
        : "Automated Session Demo <Connected to " + telnet1.RemoteEndPoint.ToString() + ">";
}

 

To download a trial please visit the PowerTCP Emulation for .NET product page.

The following example demonstrates mapping a sequence to a pressed key. With a few lines in the VT control's KeyDown event handler, any key can be made to send an alternative sequence.

See all PowerTCP Emulation for .NET Samples and Code Examples

 

private void vt1_KeyDown(object sender, VtKeyEventArgs e)
{
    //If there is a telnet connection
    if (telnet1.State != Dart.Emulation.ConnectionState.Closed)
    {
        //Send substitute string when Control-H pressed
        if (e.Control && e.KeyCode == Keys.H)
        {
            e.Handled = true//prevent other key events
            telnet1.Write("Hello World!");
        }
    }
}

 

To download a trial please visit the PowerTCP Emulation for .NET product page.

The following example demonstrates receiving data in a Windows Forms environment. Data is read asynchronously, as it is available, without blocking the UI. The data is marshaled to the UI thread and written to the display.

 

See all PowerTCP Emulation for .NET Samples and Code Examples

 

private void button1_Click(object sender, EventArgs e)
{
    //Receive data on a worker thread
    telnet1.Start(receiveData, null);
}

private void receiveData(object notUsed)
{
    //Receive data when it is sent by the remote host
    //Marshal it to the UI for display
    byte[] buffer = new byte[1024];
    while (telnet1.State != ConnectionState.Closed)
        telnet1.Marshal(telnet1.Read(buffer, 0, 1024), ""null);
}

private void telnet1_Data(object sender, DataEventArgs e)
{
    //Whenever data is received, display it
    if (e.Data != null) vt1.Write(e.Data.Buffer, 0, e.Data.Count);
}

 

To download a trial please visit the PowerTCP Emulation for .NET product page.

Telnet Client Sample

See all PowerTCP Emulation for .NET Samples and Code Examples

 

The PowerTCP Emulation for .NET Telnet Client sample demonstrates many routine VT Emulation functions:

 

  • Gracefully emulate VT sessions
  • Provide an intuitive keymapping interface
  • Include print screen options
  • Log sessions to disk
  • Include color and font settings
  • Copy and paste text from the display
  • Offer national character sets and encodings

PowerTCP Emulation for .NET Telnet Client Sample Screenshot

 

The PowerTCP Emulation .NET Telnet Client sample is included with a trial installation of PowerTCP Emulation for .NET. To download a trial please visit the PowerTCP Emulation for .NET product page.

 

Telnet Client (Independent Data Source) Sample

See all PowerTCP Emulation for .NET Samples and Code Examples

 

The PowerTCP Emulation for .NET Telnet Client (Independent Data Source) sample demonstrates many routine VT Emulation functions:

 

  • Interface with another class that provides the VT data
  • Gracefully emulate VT sessions
  • Provide an intuitive keymapping interface
  • Include print screen options
  • Log sessions to disk
  • Include color and font settings
  • Copy and paste text from the display
  • Offer national character sets and encodings

PowerTCP Emulation for .NET Telnet Client (Independent Data Source) Sample Screenshot

 

The PowerTCP Emulation .NET Telnet Client (Independent Data Source) sample is included with a trial installation of PowerTCP Emulation for .NET. To download a trial please visit the PowerTCP Emulation for .NET product page.

 

Screenscrape Sample

See all PowerTCP Emulation for .NET Samples and Code Examples

 

The PowerTCP Emulation for .NET Screenscrape sample demonstrates many routine VT Emulation functions:

 

  • Write a VT data source to the display
  • Scrape the entire text from the display
  • Scrape specific areas of the display
  • Paste the scraped text to a standard textbox

PowerTCP Emulation for .NET Screenscrape Sample Screenshot

 

The PowerTCP Emulation .NET Screenscrape sample is included with a trial installation of PowerTCP Emulation for .NET. To download a trial please visit the PowerTCP Emulation for .NET product page.

 

SSH with VT Client Sample 

The PowerTCP SSH and SFTP for .NET SSH VT Client sample demonstrates many routine SSH/VT functions:

 

  • A secure user-interactive SSH-2 client
  • Provide username/password and PEM authentication options
  • Provide information about the established connection
  • Gracefully emulate VT sessions
  • Include options such as color and font settings

PowerTCP SSH and SFTP for .NET SFTP Client Sample Screenshot

 

The SSH with VT Client sample is included with a trial installation of PowerTCP SSH and SFTP for .NET or PowerTCP Emulation for .NET. To download a trial please visit the PowerTCP SSH and SFTP for .NET or PowerTCP Emulation for .NET product page.

 

Purchase Options

Customize your product and support options match your needs. Discounts are applied when products are purchased in multiples or within available product suites.

$0.00 discount
 
$949.00

Have any questions about purchasing? See our Sales FAQ