MQTTnet 4.2.1.781

.NET 5.0 .NET Core 3.1 .NET Standard 1.3 .NET Framework 4.5.2
dotnet add package MQTTnet --version 4.2.1.781
NuGet\Install-Package MQTTnet -Version 4.2.1.781
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="4.2.1.781" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MQTTnet --version 4.2.1.781
#r "nuget: MQTTnet, 4.2.1.781"
#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.
// Install MQTTnet as a Cake Addin
#addin nuget:?package=MQTTnet&version=4.2.1.781

// Install MQTTnet as a Cake Tool
#tool nuget:?package=MQTTnet&version=4.2.1.781

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 Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  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 is compatible.  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. 
.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 is compatible. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net452 is compatible.  net46 was computed.  net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  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 was computed.  uap10.0.10240 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)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (191)

Showing the top 5 NuGet packages that depend on MQTTnet:

Package Downloads
Microsoft.Azure.Devices.Client The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Device SDK for Azure IoT Hub

MQTTnet.Extensions.ManagedClient

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

Microsoft.Azure.Devices.Provisioning.Client The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Provisioning Device Client SDK for Azure IoT Devices

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.

L.Common.Core

Package Description

GitHub repositories (26)

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

Repository Stars
OPCFoundation/UA-.NETStandard
OPC Unified Architecture .NET Standard
ArduPilot/MissionPlanner
Mission Planner Ground Control Station for ArduPilot (c# .net)
zhaopeiym/quartzui
基于Quartz.NET3.0的定时任务Web可视化管理。docker打包开箱即用、内置SQLite持久化、语言无关、业务代码零污染、支持 RESTful风格接口、傻瓜式配置
LAB02-Research/HASS.Agent
Windows-based client for Home Assistant. Provides notifications, quick actions, commands, sensors and more.
IoTSharp/IoTSharp
IoTSharp is an open-source IoT platform for data collection, processing, visualization, and device management.
Version Downloads Last updated
4.2.1.781 7,871 5/29/2023
4.2.0.706 58,661 4/23/2023
4.1.4.563 312,788 12/8/2022
4.1.3.436 73,234 11/12/2022
4.1.2.350 113,292 10/24/2022
4.1.1.318 75,785 10/1/2022
4.1.0.247 177,258 8/7/2022
4.0.2.221 76,768 7/13/2022
4.0.1.184 98,547 6/16/2022
4.0.0.167 210,257 6/4/2022
3.1.2 1,015,393 1/27/2022
3.1.1 277,096 12/1/2021
3.1.0 107,790 11/6/2021
3.0.16 621,886 6/28/2021
3.0.15 478,855 2/26/2021
3.0.15-rc2 2,315 2/19/2021
3.0.15-rc1 2,052 2/12/2021
3.0.14 116,320 2/2/2021
3.0.14-rc8 609 1/30/2021
3.0.14-rc7 2,178 1/25/2021
3.0.14-rc6 458 1/23/2021
3.0.14-rc5 3,516 1/2/2021
3.0.14-rc4 791 12/27/2020
3.0.14-rc3 2,399 12/8/2020
3.0.14-rc2 1,228 11/29/2020
3.0.14-rc1 1,406 11/17/2020
3.0.13 484,363 10/24/2020
3.0.13-rc2 661 10/15/2020
3.0.13-rc1 9,920 9/19/2020
3.0.12 267,144 8/5/2020
3.0.12-rc2 1,077 7/26/2020
3.0.12-rc1 8,272 5/31/2020
3.0.11 775,991 5/16/2020
3.0.10 6,963 5/14/2020
3.0.10-rc2 565 5/13/2020
3.0.10-rc1 2,015 5/2/2020
3.0.9 79,718 4/10/2020
3.0.9-rc2 1,465 4/5/2020
3.0.9-rc1 4,912 12/8/2019
3.0.8 669,308 8/19/2019
3.0.7 3,408 8/18/2019
3.0.7-rc2 1,803 8/14/2019
3.0.7-rc1 1,801 8/13/2019
3.0.6 22,274 8/11/2019
3.0.6-beta1 2,585 7/11/2019
3.0.6-alpha1 1,832 7/9/2019
3.0.5 69,554 6/28/2019
3.0.4 3,844 6/27/2019
3.0.3 4,467 6/23/2019
3.0.3-rc3 1,918 6/14/2019
3.0.3-rc2 2,179 6/6/2019
3.0.3-rc1 3,262 5/17/2019
3.0.2 42,192 5/12/2019
3.0.2-rc1 1,740 5/11/2019
3.0.1 11,544 5/11/2019
3.0.0 37,368 5/5/2019
3.0.0-rc3 1,829 5/1/2019
3.0.0-rc2 4,519 4/26/2019
3.0.0-rc1 1,821 4/22/2019
3.0.0-beta1 3,247 4/7/2019
3.0.0-alpha3 1,931 3/24/2019
3.0.0-alpha2 5,866 1/27/2019
3.0.0-alpha1 2,333 12/22/2018
2.8.5 299,111 12/9/2018
2.8.5-rc5 2,027 11/28/2018
2.8.5-rc4 1,977 11/24/2018
2.8.5-rc3 2,041 11/5/2018
2.8.5-rc2 1,719 11/4/2018
2.8.5-rc1 2,406 10/29/2018
2.8.4 63,038 10/6/2018
2.8.4-rc2 1,747 10/4/2018
2.8.4-rc1 1,722 10/4/2018
2.8.3 15,353 10/1/2018
2.8.2 62,816 8/4/2018
2.8.2-rc1 1,921 7/27/2018
2.8.1 12,076 7/8/2018
2.8.1-rc1 1,946 7/7/2018
2.8.0 9,634 7/1/2018
2.8.0-rc6 2,054 6/29/2018
2.8.0-rc5 1,994 6/28/2018
2.8.0-rc4 2,319 6/24/2018
2.8.0-rc3 2,153 6/22/2018
2.8.0-rc2 2,153 6/21/2018
2.8.0-rc1 1,870 6/21/2018
2.8.0-beta1 2,064 6/19/2018
2.8.0-alpha5 3,030 6/6/2018
2.8.0-alpha4 2,393 6/5/2018
2.8.0-alpha3 1,890 6/5/2018
2.8.0-alpha2 2,114 6/4/2018
2.8.0-alpha1 2,904 5/10/2018
2.7.5 93,997 4/28/2018
2.7.5-rc2 1,980 4/25/2018
2.7.5-rc1 2,022 4/24/2018
2.7.4 42,890 4/11/2018
2.7.3 3,465 4/4/2018
2.7.3-rc3 3,120 4/1/2018
2.7.3-rc2 1,996 3/29/2018
2.7.3-rc1 1,940 3/27/2018
2.7.2 3,659 3/26/2018
2.7.1 8,890 3/13/2018
2.7.1-rc1 2,010 2/28/2018
2.7.0 13,002 2/4/2018
2.7.0-rc1 2,214 1/27/2018
2.6.0 5,559 12/18/2017
2.6.0-rc2 2,061 12/7/2017
2.6.0-rc1 1,911 12/4/2017
2.5.3 3,946 11/25/2017
2.5.3-rc1 1,981 11/22/2017
2.5.2 3,043 11/21/2017
2.5.2-rc1 1,855 11/17/2017
2.5.1 3,056 11/11/2017
2.5.0 3,506 11/8/2017
2.4.0 17,869 10/9/2017
2.3.1 2,907 9/28/2017
2.3.0 2,629 9/20/2017
2.2.1 2,763 8/21/2017
2.2.0 2,906 8/17/2017
2.1.5.1 2,331 8/7/2017
2.1.5 2,508 8/5/2017
2.1.4 3,156 7/15/2017
2.1.3 5,167 6/8/2017
2.1.2 2,523 5/5/2017
2.1.1 4,302 4/8/2017

* [Core] Add validation of maximum string lengths (#1718).
* [Core] Added .NET 4.8 builds (#1729).
* [Core] Exposed more details of DISCONNECT packet in log (#1729).
* [Core] Fixed _ArgumentNullException_ in _ConvertPayloadToString_ (#1745, thanks to @ramonsmits).
* [Client] Added overloads for setting packet payload and will payload (#1720).
* [Client] The proper connect result is now exposed in the _Disconnected_ event when authentication fails (#1139).
* [Client] Exposed _UseDefaultCredentials_ and more for Web Socket options and proxy options (#1734, thanks to @impworks).
* [Client] Exposed more TLS options (#1729).
* [Client] Fixed wrong return code conversion (#1729).
* [Client] Added an option to avoid throwing an exception when the server returned a proper non success (but valid) response (#1681).
* [Server] Improved performance by changing internal locking strategy for subscriptions (#1716, thanks to @zeheng).
* [Server] Fixed exceptions when clients are connecting and disconnecting very fast while accessing the client status for connection validation (#1742).
* [Server] Exposed more properties in _ClientConnectedEventArgs_ (#1738).