MQTTnet 3.1.2

.NET 5.0 .NET Core 3.1 .NET Standard 1.3 .NET Framework 4.5.2
There is a newer version of this package available.
See the version list below for details.
Install-Package MQTTnet -Version 3.1.2
dotnet add package MQTTnet --version 3.1.2
<PackageReference Include="MQTTnet" Version="3.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MQTTnet --version 3.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MQTTnet, 3.1.2"
#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 MQTTnet as a Cake Addin
#addin nuget:?package=MQTTnet&version=3.1.2

// Install MQTTnet as a Cake Tool
#tool nuget:?package=MQTTnet&version=3.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (134)

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.

Mars.Core

The runtime core provides step-based execution for multi-agent simulations in distributed environments as well as polyglot result output with different output types such as (MongoDB, PostgreSQL, Redis, CSV, GeoJson Socket, ...). For furher details please use the handbook: https://mars-group.org/wp-content/uploads/2018/09/mars-modelling-handbook.pdf

MQTTnet.Extensions.Rpc

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

L.Common.Core

Package Description

GitHub repositories (16)

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

Repository Stars
ArduPilot/MissionPlanner
Mission Planner Ground Control Station (c# .net)
sleevezipper/hass-workstation-service
Provide useful sensors and services from your workstation to Home Assistant.
IoTSharp/IoTSharp
IoTSharp is an open-source IoT platform for data collection, processing, visualization, and device management.
yllibed/Zigbee2MqttAssistant
GUI for Zigbee2Mqtt running in docker and HASS.IO
iioter/iotgateway
A cross-platform IoT gateway based on .net6. Through visual configuration, you can easily connect to any of your devices and systems (such as PLC, barcode scanner, CNC, database, serial device, host computer, OPC Server, OPC UA Server, Mqtt Server, etc.), so as to interact with Thingsboard, IoTSharp or Your own IoT platform for two-way data communication. Provide a simple driver development interface; of course, edge computing can also be performed.
Version Downloads Last updated
4.0.1.184 3,351 6/16/2022
4.0.0.167 7,752 6/4/2022
3.1.2 242,731 1/27/2022
3.1.1 153,430 12/1/2021
3.1.0 55,947 11/6/2021
3.0.16 401,532 6/28/2021
3.0.15 345,969 2/26/2021
3.0.15-rc2 2,194 2/19/2021
3.0.15-rc1 1,996 2/12/2021
3.0.14 83,757 2/2/2021
3.0.14-rc8 550 1/30/2021
3.0.14-rc7 2,119 1/25/2021
3.0.14-rc6 409 1/23/2021
3.0.14-rc5 3,338 1/2/2021
3.0.14-rc4 735 12/27/2020
3.0.14-rc3 2,041 12/8/2020
3.0.14-rc2 1,115 11/29/2020
3.0.14-rc1 1,258 11/17/2020
3.0.13 323,170 10/24/2020
3.0.13-rc2 603 10/15/2020
3.0.13-rc1 9,596 9/19/2020
3.0.12 220,230 8/5/2020
3.0.12-rc2 1,021 7/26/2020
3.0.12-rc1 8,030 5/31/2020
3.0.11 460,365 5/16/2020
3.0.10 6,339 5/14/2020
3.0.10-rc2 519 5/13/2020
3.0.10-rc1 1,964 5/2/2020
3.0.9 62,142 4/10/2020
3.0.9-rc2 1,410 4/5/2020
3.0.9-rc1 4,779 12/8/2019
3.0.8 503,018 8/19/2019
3.0.7 2,933 8/18/2019
3.0.7-rc2 1,753 8/14/2019
3.0.7-rc1 1,750 8/13/2019
3.0.6 21,625 8/11/2019
3.0.6-beta1 2,498 7/11/2019
3.0.6-alpha1 1,776 7/9/2019
3.0.5 55,111 6/28/2019
3.0.4 3,175 6/27/2019
3.0.3 3,951 6/23/2019
3.0.3-rc3 1,870 6/14/2019
3.0.3-rc2 2,127 6/6/2019
3.0.3-rc1 3,212 5/17/2019
3.0.2 36,760 5/12/2019
3.0.2-rc1 1,689 5/11/2019
3.0.1 6,299 5/11/2019
3.0.0 29,175 5/5/2019
3.0.0-rc3 1,780 5/1/2019
3.0.0-rc2 3,793 4/26/2019
3.0.0-rc1 1,769 4/22/2019
3.0.0-beta1 2,912 4/7/2019
3.0.0-alpha3 1,865 3/24/2019
3.0.0-alpha2 5,811 1/27/2019
3.0.0-alpha1 2,283 12/22/2018
2.8.5 254,370 12/9/2018
2.8.5-rc5 1,969 11/28/2018
2.8.5-rc4 1,919 11/24/2018
2.8.5-rc3 1,986 11/5/2018
2.8.5-rc2 1,667 11/4/2018
2.8.5-rc1 2,352 10/29/2018
2.8.4 56,449 10/6/2018
2.8.4-rc2 1,693 10/4/2018
2.8.4-rc1 1,666 10/4/2018
2.8.3 14,640 10/1/2018
2.8.2 50,849 8/4/2018
2.8.2-rc1 1,852 7/27/2018
2.8.1 11,138 7/8/2018
2.8.1-rc1 1,866 7/7/2018
2.8.0 7,191 7/1/2018
2.8.0-rc6 1,986 6/29/2018
2.8.0-rc5 1,931 6/28/2018
2.8.0-rc4 2,238 6/24/2018
2.8.0-rc3 2,074 6/22/2018
2.8.0-rc2 2,078 6/21/2018
2.8.0-rc1 1,797 6/21/2018
2.8.0-beta1 1,991 6/19/2018
2.8.0-alpha5 2,808 6/6/2018
2.8.0-alpha4 2,318 6/5/2018
2.8.0-alpha3 1,816 6/5/2018
2.8.0-alpha2 2,028 6/4/2018
2.8.0-alpha1 2,824 5/10/2018
2.7.5 73,393 4/28/2018
2.7.5-rc2 1,911 4/25/2018
2.7.5-rc1 1,945 4/24/2018
2.7.4 33,388 4/11/2018
2.7.3 3,217 4/4/2018
2.7.3-rc3 2,981 4/1/2018
2.7.3-rc2 1,920 3/29/2018
2.7.3-rc1 1,864 3/27/2018
2.7.2 3,385 3/26/2018
2.7.1 8,620 3/13/2018
2.7.1-rc1 1,927 2/28/2018
2.7.0 12,538 2/4/2018
2.7.0-rc1 2,132 1/27/2018
2.6.0 5,134 12/18/2017
2.6.0-rc2 1,984 12/7/2017
2.6.0-rc1 1,839 12/4/2017
2.5.3 3,612 11/25/2017
2.5.3-rc1 1,910 11/22/2017
2.5.2 2,778 11/21/2017
2.5.2-rc1 1,786 11/17/2017
2.5.1 2,709 11/11/2017
2.5.0 3,083 11/8/2017
2.4.0 13,848 10/9/2017
2.3.1 2,662 9/28/2017
2.3.0 2,381 9/20/2017
2.2.1 2,519 8/21/2017
2.2.0 2,603 8/17/2017
2.1.5.1 2,127 8/7/2017
2.1.5 2,252 8/5/2017
2.1.4 2,816 7/15/2017
2.1.3 4,958 6/8/2017
2.1.2 2,330 5/5/2017
2.1.1 3,395 4/8/2017

* [Client] Increased delay for keep alive checks do decrease CPU load.
* [Core] Decreased object allocations (#1324, thanks to @gfoidl).
* [Core] Decreased object allocations when logging is not active (thanks to @gfoidl, @Tymoniden).
* [Client] Fixed issue in _MqttApplicationMessageBuilder.WithPayload_ (#1322, thanks to @gfoidl).

Git commit: d5691346