RadiantPi.Telnet 2.2.0

.NET 6.0
NuGet\Install-Package RadiantPi.Telnet -Version 2.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package RadiantPi.Telnet --version 2.2.0
<PackageReference Include="RadiantPi.Telnet" Version="2.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RadiantPi.Telnet --version 2.2.0
#r "nuget: RadiantPi.Telnet, 2.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install RadiantPi.Telnet as a Cake Addin
#addin nuget:?package=RadiantPi.Telnet&version=2.2.0

// Install RadiantPi.Telnet as a Cake Tool
#tool nuget:?package=RadiantPi.Telnet&version=2.2.0


TelnetClient simplifies working with Telnet connections. The library is platform agnostic and works on Windows or Linux, including on a Raspberry Pi.

Run the dotnet command from your project folder to add the RadiantPi.Telnet assembly:

dotnet add package RadiantPi.Telnet

Find a description of the latest changes in the release notes.

Sample: Hello Trinnov

Use TelnetClient to connect to an Trinnov Altitude processor.

using System;
using RadiantPi.Telnet;

// initialize client
using TelnetClient client = new("", 44100);

// register server connection validation
client.ValidateConnectionAsync = async (client, reader, writer) => {
    var handshake = await reader.ReadLineAsync() ?? "";

    // the Trinnov Altitude sends a welcome text to identify itself
    if(!handshake.StartsWith("Welcome on Trinnov Optimizer (", StringComparison.Ordinal)) {
        throw new NotSupportedException("Unrecognized device");

    // announce client
    await writer.WriteLineAsync("id radiant_pi_telnet");

client.MessageReceived += delegate (object? sender, TelnetMessageReceivedEventArgs args) {
    Console.WriteLine($"Received: {args.Message}");

Console.WriteLine("Open connection");
await client.ConnectAsync();

Console.WriteLine("Press ENTER to exit.");


This application is distributed under the GNU Affero General Public License v3.0 or later.

Copyright (C) 2020-2022 - Steve G. Bjorg

Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on RadiantPi.Telnet:

Package Downloads

Communication client for Sony C-LED (Cledis)


Communication client for Trinnov Altitude


Communication client for Kaleidescape

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.2.0 193 2/17/2022
2.1.1 101 2/17/2022
2.1.0 83 2/17/2022
2.0.1 158 2/15/2022
2.0.0 83 2/15/2022
1.0.0 230 10/27/2021