Zenoh-CS 0.5.0

dotnet add package Zenoh-CS --version 0.5.0
                    
NuGet\Install-Package Zenoh-CS -Version 0.5.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="Zenoh-CS" Version="0.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Zenoh-CS" Version="0.5.0" />
                    
Directory.Packages.props
<PackageReference Include="Zenoh-CS" />
                    
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 Zenoh-CS --version 0.5.0
                    
#r "nuget: Zenoh-CS, 0.5.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 Zenoh-CS@0.5.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=Zenoh-CS&version=0.5.0
                    
Install as a Cake Addin
#tool nuget:?package=Zenoh-CS&version=0.5.0
                    
Install as a Cake Tool

zenoh banner

License License

Zenoh C# API

中文/chinese readme

Zenoh is an extremely efficient and fault-tolerant Named Data Networking (NDN) protocol that is able to scale down to extremely constrainded devices and networks.

Zenoh-CS provides the common interface of Zenoh-C. can be easily tested against a zenoh router running in a Docker container (see quick test).


Supported runtime environments

The library targets.NET Standard 2.0, which means it should work on multiple runtimes. Reference Links netstandard2.0

.NET Runtime

.NET implementation Version support
.NET 5.0, 6.0, 7.0, 8.0, 9.0
.NET Framework 4.8.1
Unity 2022.3

Supported CPU arch

  • x64
  • arm64 (planned, untested)

Mapping between Zenoh-CS and Zenoh-C versions

Zenoh-C Zenoh-CS
v0.7.2-rc v0.1.*
v1.3.0 v0.2.0
v1.3.2 ~ v1.3.3 v0.2.2
v1.5.0 v0.3.0
v1.6.2 v0.4.0 ~ 0.4.1
v1.10.0 v0.5.0

Development and test environment composition

OS CPU .NET implementation Notes
Windows 11 x64 .NET 8.0 main
Windows 11 x64 .NET Framework 4.8.1
macOS 15 x64 .NET 8.0
macOS 15 x64 Unity 2022.3
Ubuntu 24.04 x64 .NET 8.0

How to install and use

Requirements:

  • The zenoh-c library must be installed on your host.
    • You need to select the zenoh-c version that corresponds to the zenoh-cs version (for example, zenoh-c V1.10.0).
    • Compatible with zenoh compiled library.
    • If you build zenoh-c yourself, you will need to use the UNSTABLE_API, SHARED_MEMORY compilation options.

Use source code in your project

(todo)

Build library files

Requirements:

  • a .NET environment. .NET8 (or other compatible versions) SDK

Run the command in directory Zenoh.

dotnet build Zenoh.csproj -c Release 

Download the library using Nuget

Links to https://www.nuget.org/packages/Zenoh-CS/


Running the Examples

Build and run the zenoh-csharp examples following the instructions in examples/README.md

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 was computed.  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 was computed.  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.
  • .NETStandard 2.0

    • No dependencies.

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
0.5.0 463 8/22/2026
0.4.1 12,391 12/3/2025
0.4.0 3,158 11/5/2025
0.3.0 5,413 7/27/2025
0.2.2 2,937 4/14/2025
0.2.1 2,829 4/9/2025
0.2.0 2,840 4/4/2025
0.1.4 11,570 11/21/2023
0.1.3 2,801 8/24/2023
0.1.2 2,778 8/24/2023
0.1.1 2,806 8/22/2023
0.1.0 2,787 8/18/2023
0.0.6 3,011 12/19/2022
0.0.5 3,042 11/15/2022
0.0.4 3,030 11/14/2022
0.0.3 3,052 11/10/2022
0.0.2 3,064 11/7/2022
0.0.1 3,107 9/20/2022