These code snippets can be copied and pasted into your project.
Samples are working applications demonstrating Emulation for .NET components in C#, VB.NET, C++/CLI and PowerShell. Source code included.
||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).
||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.
||Demonstrates execution of a command using Rexec.
||Demonstrates a user-interactive Rlogin 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.
Download all the Emulation Samples Now!
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)'.