ZeroIoT 1.2.0

dotnet add package ZeroIoT --version 1.2.0
                    
NuGet\Install-Package ZeroIoT -Version 1.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.
<PackageReference Include="ZeroIoT" Version="1.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ZeroIoT" Version="1.2.0" />
                    
Directory.Packages.props
<PackageReference Include="ZeroIoT" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ZeroIoT --version 1.2.0
                    
#r "nuget: ZeroIoT, 1.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ZeroIoT@1.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ZeroIoT&version=1.2.0
                    
Install as a Cake Addin
#tool nuget:?package=ZeroIoT&version=1.2.0
                    
Install as a Cake Tool

ZeroIoT: Industrial Protocol Connectors for .NET

ZeroPlatform Tier License: MIT .NET Multi-Targeting NuGet Version

ZeroIoT is a high-throughput, pure C# industrial protocol connector library for .NET with zero external dependencies. It provides zero-allocation memory pipeline decoders, binary encoders, and network clients for industrial edge computing, PLC integration, and SCADA telemetry.

Key Features

  • MQTT Exactly-Once QoS 2 & mTLS: Ultra-lightweight asynchronous client (MqttClient), zero-allocation packet encoder/decoder (MqttPacketEncoder, MqttPacketDecoder) with full 4-way QoS 2 handshake (PUBREC/PUBREL/PUBCOMP), in-flight tracking table (Qos2FlightTable), and X.509 mTLS mutual authentication (MqttClientOptions).
  • OPC-UA Binary Protocol & TLS: Pure C# binary encoder/decoder (UaBinaryEncoder, UaBinaryDecoder), variant serialization (UaVariant), NodeId addressing, asynchronous TCP transport (UaTcpTransport), and X.509 TLS/mTLS encryption (OpcUaClientOptions).
  • Sparkplug B: Industrial IoT edge payload codec (SparkplugCodec) and typed metric models (SparkplugMetric).
  • Telemetry Bridges: Integrated streaming bridge to ZeroData DataFrame (IotDataFrameBridge) and ZeroStorage Gorilla TSDB sink (IotGorillaTsdbSink).
  • Zero External Dependencies: 100% Pure C# across .NET 8, .NET Standard 2.0, and .NET Framework 4.6.2.

Usage Examples

1. MQTT Client with QoS 2 and X.509 mTLS

using System.Security.Cryptography.X509Certificates;
using ZeroIoT.Mqtt;

var options = new MqttClientOptions
{
    Host = "broker.hivemq.com",
    Port = 8883,
    UseTls = true,
    ClientCertificates = new X509CertificateCollection
    {
        new X509Certificate2("client.pfx", "password")
    }
};

using var client = new MqttClient(options);
await client.ConnectAsync();

// Publish with Exactly-Once QoS 2 semantics
byte[] payload = System.Text.Encoding.UTF8.GetBytes("{\"temperature\": 24.5}");
await client.PublishAsync("factory/line1/sensor", payload, MqttQoS.ExactlyOnce);

2. OPC-UA Client with X.509 TLS Security

using ZeroIoT.OpcUa;

var options = new OpcUaClientOptions
{
    Host = "192.168.1.100",
    Port = 4840,
    UseTls = true
};

using var client = new OpcUaClient(options);
await client.ConnectAsync();

var value = client.Read(new NodeId(2, "MotorSpeed"));

Multi-Targeting

  • .NET 8.0+
  • .NET Framework 4.6.2+
  • .NET Standard 2.0

License

MIT License. Copyright © 2026 Phong Võ (kzxl). Part of the ZeroPlatform project.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2.0 101 9/30/2026
1.1.0 93 9/22/2026
1.0.0 105 9/14/2026