MQTTnet 3.0.0-alpha1

This is a prerelease version of MQTTnet.
There is a newer version of this package available.
See the version list below for details.
dotnet add package MQTTnet --version 3.0.0-alpha1
                    
NuGet\Install-Package MQTTnet -Version 3.0.0-alpha1
                    
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="MQTTnet" Version="3.0.0-alpha1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MQTTnet" Version="3.0.0-alpha1" />
                    
Directory.Packages.props
<PackageReference Include="MQTTnet" />
                    
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 MQTTnet --version 3.0.0-alpha1
                    
#r "nuget: MQTTnet, 3.0.0-alpha1"
                    
#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 MQTTnet@3.0.0-alpha1
                    
#: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=MQTTnet&version=3.0.0-alpha1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=MQTTnet&version=3.0.0-alpha1&prerelease
                    
Install as a Cake Tool

MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker).

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 netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net452 is compatible.  net46 was computed.  net461 is compatible.  net462 is compatible.  net463 was computed.  net47 is compatible.  net471 is compatible.  net472 is compatible.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 is compatible. 
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 (315)

Showing the top 5 NuGet packages that depend on MQTTnet:

Package Downloads
MQTTnet.Extensions.ManagedClient

This is an extension library which provides a managed MQTT client with additional features using MQTTnet.

MQTTnet.AspNetCore

MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker) and supports v3.1.0, v3.1.1 and v5.0.0 of the MQTT protocol.

MQTTnet.Extensions.Rpc

This is an extension library which allows executing synchronous device calls including a response using MQTTnet.

L.Common.Core

Package Description

LagoVista.IoT.Deployment.Admin

Provides Managers, Interfaces, Models and Repositories for Managing Deployments with the LagoVista Devices, IoT and Home Automation Frameworks.

GitHub repositories (38)

Showing the top 20 popular GitHub repositories that depend on MQTTnet:

Repository Stars
nuke-build/nuke
🏗 The AKEless Build System for C#/.NET
BrighterCommand/Brighter
A framework for building messaging apps with .NET and C#.
OPCFoundation/UA-.NETStandard
OPC Unified Architecture .NET Standard
ArduPilot/MissionPlanner
Mission Planner Ground Control Station for ArduPilot (c# .net)
LAB02-Research/HASS.Agent
Windows-based client for Home Assistant. Provides notifications, quick actions, commands, sensors and more.
zhaopeiym/quartzui
基于Quartz.NET3.0的定时任务Web可视化管理。docker打包开箱即用、内置SQLite持久化、语言无关、业务代码零污染、支持 RESTful风格接口、傻瓜式配置
IoTSharp/IoTSharp
IoTSharp is an open-source IoT platform for data collection, processing, visualization, and device management.
chenxuuu/llcom
🛠功能强大的串口工具。支持Lua自动化处理、串口调试、WinUSB、串口曲线、TCP测试、MQTT测试、编码转换、乱码恢复等功能
iioter/iotgateway
An industrial IoTGateway with B/S architecture that enables bidirectional communication between industrial devices (southbound connections) and IoT platforms (northbound connections). It supports numerous industrial protocols, and can connect to various IoT cloud platforms.
sleevezipper/hass-workstation-service
Provide useful sensors and services from your workstation to Home Assistant.
zarusz/SlimMessageBus
Lightweight message bus interface for .NET (pub/sub and request-response) with transport plugins for popular message brokers.
ThingsGateway/ThingsGateway
ThingsGateway is a cross platform high-performance edge acquisition gateway based on Net8, providing underlying PLC communication libraries, communication debugging software, and more.
Monika1313/Wu.CommTool
基于C#、WPF、Prism、MaterialDesign、HandyControl开发的通讯调试工具。支持Modbus Rtu调试、Mqtt调试、TCP调试
yllibed/Zigbee2MqttAssistant
GUI for Zigbee2Mqtt running in docker and HASS.IO
RapidScada/scada-v6
Contains Rapid SCADA 6 source code.
TcOpenGroup/TcOpen
Application framework for industrial automation built on top of TwinCAT3 and .NET.
zhaopeiym/IoTClient.Examples
cloudevents/sdk-csharp
CSharp SDK for CloudEvents
chkr1011/mqttMultimeter
Cross platform MQTT client for MQTT debugging and message inspection. It is based on the .NET library MQTTnet.
mirbeta/OpenMir2
Legend of Mir 2 Game server
Version Downloads Last Updated
5.0.1.1416 740,031 1/5/2025
5.0.0.1405 12,144 12/31/2024
5.0.0.1214-RC 16,478 9/22/2024
4.3.7.1207 1,592,438 9/7/2024
4.3.6.1152 1,076,959 5/24/2024
4.3.5.1141 134,281 5/19/2024
4.3.4.1084 34,358 5/14/2024
4.3.3.952 1,521,707 12/8/2023
4.3.2.930 68,850 12/2/2023
4.3.1.873 975,930 9/6/2023
4.3.0.858 42,394 9/3/2023
4.2.1.781 847,290 5/29/2023
4.2.0.706 301,270 4/23/2023
4.1.4.563 1,115,594 12/8/2022
4.1.3.436 154,334 11/12/2022
4.1.2.350 415,595 10/24/2022
4.1.1.318 171,098 10/1/2022
4.1.0.247 338,787 8/7/2022
4.0.2.221 131,353 7/13/2022
4.0.1.184 208,098 6/16/2022
4.0.0.167 1,589,865 6/4/2022
3.1.2 2,239,917 1/27/2022
3.1.1 409,768 12/1/2021
3.1.0 235,412 11/6/2021
3.0.16 1,018,588 6/28/2021
3.0.15 726,498 2/26/2021
3.0.15-rc2 4,855 2/19/2021
3.0.15-rc1 4,263 2/12/2021
3.0.14 158,048 2/2/2021
3.0.14-rc8 2,853 1/30/2021
3.0.14-rc7 4,368 1/25/2021
3.0.14-rc6 2,728 1/23/2021
3.0.14-rc5 5,997 1/2/2021
3.0.14-rc4 3,049 12/27/2020
3.0.14-rc3 5,465 12/8/2020
3.0.14-rc2 3,142 11/29/2020
3.0.14-rc1 4,006 11/17/2020
3.0.13 742,331 10/24/2020
3.0.13-rc2 2,886 10/15/2020
3.0.13-rc1 12,187 9/19/2020
3.0.12 314,805 8/5/2020
3.0.12-rc2 3,340 7/26/2020
3.0.12-rc1 10,730 5/31/2020
3.0.11 1,184,621 5/16/2020
3.0.10 9,977 5/14/2020
3.0.10-rc2 2,869 5/13/2020
3.0.10-rc1 4,281 5/2/2020
3.0.9 98,257 4/10/2020
3.0.9-rc2 3,682 4/5/2020
3.0.9-rc1 7,331 12/8/2019
3.0.8 1,023,242 8/19/2019
3.0.7 6,094 8/18/2019
3.0.7-rc2 4,115 8/14/2019
3.0.7-rc1 4,018 8/13/2019
3.0.6 25,733 8/11/2019
3.0.6-beta1 4,911 7/11/2019
3.0.6-alpha1 4,130 7/9/2019
3.0.5 99,512 6/28/2019
3.0.4 9,339 6/27/2019
3.0.3 7,241 6/23/2019
3.0.3-rc3 4,241 6/14/2019
3.0.3-rc2 4,441 6/6/2019
3.0.3-rc1 5,568 5/17/2019
3.0.2 46,042 5/12/2019
3.0.2-rc1 3,614 5/11/2019
3.0.1 15,951 5/11/2019
3.0.0 43,249 5/5/2019
3.0.0-rc3 3,733 5/1/2019
3.0.0-rc2 8,297 4/26/2019
3.0.0-rc1 3,781 4/22/2019
3.0.0-beta1 5,199 4/7/2019
3.0.0-alpha3 3,869 3/24/2019
3.0.0-alpha2 7,801 1/27/2019
3.0.0-alpha1 4,268 12/22/2018
2.8.5 364,030 12/9/2018
2.8.5-rc5 3,916 11/28/2018
2.8.5-rc4 3,966 11/24/2018
2.8.5-rc3 3,915 11/5/2018
2.8.5-rc2 2,620 11/4/2018
2.8.5-rc1 5,158 10/29/2018
2.8.4 72,540 10/6/2018
2.8.4-rc2 2,636 10/4/2018
2.8.4-rc1 2,554 10/4/2018
2.8.3 17,869 10/1/2018
2.8.2 82,821 8/4/2018
2.8.2-rc1 2,917 7/27/2018
2.8.1 16,196 7/8/2018
2.8.1-rc1 3,070 7/7/2018
2.8.0 15,311 7/1/2018
2.8.0-rc6 4,129 6/29/2018
2.8.0-rc5 4,088 6/28/2018
2.8.0-rc4 4,597 6/24/2018
2.8.0-rc3 4,200 6/22/2018
2.8.0-rc2 4,376 6/21/2018
2.8.0-rc1 2,991 6/21/2018
2.8.0-beta1 3,749 6/19/2018
2.8.0-alpha5 5,656 6/6/2018
2.8.0-alpha4 3,476 6/5/2018
2.8.0-alpha3 3,032 6/5/2018
2.8.0-alpha2 3,201 6/4/2018
2.8.0-alpha1 7,279 5/10/2018
2.7.5 137,691 4/28/2018
2.7.5-rc2 3,052 4/25/2018
2.7.5-rc1 3,086 4/24/2018
2.7.4 45,416 4/11/2018
2.7.3 5,402 4/4/2018
2.7.3-rc3 4,296 4/1/2018
2.7.3-rc2 3,090 3/29/2018
2.7.3-rc1 2,991 3/27/2018
2.7.2 5,412 3/26/2018
2.7.1 10,760 3/13/2018
2.7.1-rc1 3,171 2/28/2018
2.7.0 15,296 2/4/2018
2.7.0-rc1 3,841 1/27/2018
2.6.0 7,462 12/18/2017
2.6.0-rc2 3,220 12/7/2017
2.6.0-rc1 2,952 12/4/2017
2.5.3 5,785 11/25/2017
2.5.3-rc1 3,536 11/22/2017
2.5.2 4,801 11/21/2017
2.5.2-rc1 2,790 11/17/2017
2.5.1 4,849 11/11/2017
2.5.0 5,847 11/8/2017
2.4.0 25,667 10/9/2017
2.3.1 4,269 9/28/2017
2.3.0 3,887 9/20/2017
2.2.1 3,931 8/21/2017
2.2.0 4,248 8/17/2017
2.1.5.1 3,433 8/7/2017
2.1.5 3,724 8/5/2017
2.1.4 4,454 7/15/2017
2.1.3 6,380 6/8/2017
2.1.2 3,855 5/5/2017
2.1.1 12,231 4/8/2017

* [Core] Added support for MQTTv5 packages.
* [Client] Added new MQTTv5 features to options builder.
* [Client] Added uniform API across all supported MQTT versions (BREAKING CHANGE!)
* [Server] Added support for MQTTv5 clients. The server will still return _success_ for all cases at the moment even if more granular codes are available.

* [Note] Due to MQTTv5 a lot of new classes were introduced. This required adding new namespaces as well. Most classes are backward compatible but new namespaces must be added.