MQTTnet 4.2.0.706

There is a newer version of this package available.
See the version list below for details.
dotnet add package MQTTnet --version 4.2.0.706                
NuGet\Install-Package MQTTnet -Version 4.2.0.706                
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.0.706" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MQTTnet --version 4.2.0.706                
#r "nuget: MQTTnet, 4.2.0.706"                
#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.0.706

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

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.  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. 
.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 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 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)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (279)

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 (37)

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

Repository Stars
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风格接口、傻瓜式配置
Version Downloads Last updated
5.0.0.1214-RC 3,275 9/22/2024
4.3.7.1207 216,132 9/7/2024
4.3.6.1152 504,170 5/24/2024
4.3.5.1141 66,636 5/19/2024
4.3.4.1084 18,895 5/14/2024
4.3.3.952 1,008,182 12/8/2023
4.3.2.930 47,832 12/2/2023
4.3.1.873 705,535 9/6/2023
4.3.0.858 33,217 9/3/2023
4.2.1.781 728,619 5/29/2023
4.2.0.706 262,623 4/23/2023
4.1.4.563 922,069 12/8/2022
4.1.3.436 143,896 11/12/2022
4.1.2.350 319,127 10/24/2022
4.1.1.318 155,576 10/1/2022
4.1.0.247 299,488 8/7/2022
4.0.2.221 115,773 7/13/2022
4.0.1.184 177,303 6/16/2022
4.0.0.167 882,548 6/4/2022
3.1.2 1,802,841 1/27/2022
3.1.1 371,535 12/1/2021
3.1.0 187,812 11/6/2021
3.0.16 898,055 6/28/2021
3.0.15 654,695 2/26/2021
3.0.15-rc2 4,489 2/19/2021
3.0.15-rc1 4,140 2/12/2021
3.0.14 150,749 2/2/2021
3.0.14-rc8 2,724 1/30/2021
3.0.14-rc7 4,239 1/25/2021
3.0.14-rc6 2,562 1/23/2021
3.0.14-rc5 5,698 1/2/2021
3.0.14-rc4 2,897 12/27/2020
3.0.14-rc3 5,119 12/8/2020
3.0.14-rc2 3,013 11/29/2020
3.0.14-rc1 3,847 11/17/2020
3.0.13 683,966 10/24/2020
3.0.13-rc2 2,761 10/15/2020
3.0.13-rc1 12,043 9/19/2020
3.0.12 306,728 8/5/2020
3.0.12-rc2 3,216 7/26/2020
3.0.12-rc1 10,580 5/31/2020
3.0.11 1,136,044 5/16/2020
3.0.10 9,568 5/14/2020
3.0.10-rc2 2,744 5/13/2020
3.0.10-rc1 4,155 5/2/2020
3.0.9 93,889 4/10/2020
3.0.9-rc2 3,542 4/5/2020
3.0.9-rc1 7,147 12/8/2019
3.0.8 914,857 8/19/2019
3.0.7 5,860 8/18/2019
3.0.7-rc2 3,963 8/14/2019
3.0.7-rc1 3,891 8/13/2019
3.0.6 25,037 8/11/2019
3.0.6-beta1 4,762 7/11/2019
3.0.6-alpha1 3,994 7/9/2019
3.0.5 89,783 6/28/2019
3.0.4 6,759 6/27/2019
3.0.3 6,877 6/23/2019
3.0.3-rc3 4,085 6/14/2019
3.0.3-rc2 4,290 6/6/2019
3.0.3-rc1 5,426 5/17/2019
3.0.2 45,531 5/12/2019
3.0.2-rc1 3,463 5/11/2019
3.0.1 15,642 5/11/2019
3.0.0 40,953 5/5/2019
3.0.0-rc3 3,608 5/1/2019
3.0.0-rc2 7,395 4/26/2019
3.0.0-rc1 3,604 4/22/2019
3.0.0-beta1 5,051 4/7/2019
3.0.0-alpha3 3,687 3/24/2019
3.0.0-alpha2 7,650 1/27/2019
3.0.0-alpha1 4,132 12/22/2018
2.8.5 348,774 12/9/2018
2.8.5-rc5 3,772 11/28/2018
2.8.5-rc4 3,807 11/24/2018
2.8.5-rc3 3,755 11/5/2018
2.8.5-rc2 2,459 11/4/2018
2.8.5-rc1 5,011 10/29/2018
2.8.4 70,088 10/6/2018
2.8.4-rc2 2,468 10/4/2018
2.8.4-rc1 2,388 10/4/2018
2.8.3 17,320 10/1/2018
2.8.2 77,905 8/4/2018
2.8.2-rc1 2,643 7/27/2018
2.8.1 15,462 7/8/2018
2.8.1-rc1 2,711 7/7/2018
2.8.0 14,129 7/1/2018
2.8.0-rc6 3,865 6/29/2018
2.8.0-rc5 3,844 6/28/2018
2.8.0-rc4 4,238 6/24/2018
2.8.0-rc3 3,846 6/22/2018
2.8.0-rc2 4,014 6/21/2018
2.8.0-rc1 2,629 6/21/2018
2.8.0-beta1 3,396 6/19/2018
2.8.0-alpha5 5,297 6/6/2018
2.8.0-alpha4 3,106 6/5/2018
2.8.0-alpha3 2,673 6/5/2018
2.8.0-alpha2 2,844 6/4/2018
2.8.0-alpha1 4,636 5/10/2018
2.7.5 122,743 4/28/2018
2.7.5-rc2 2,687 4/25/2018
2.7.5-rc1 2,721 4/24/2018
2.7.4 44,925 4/11/2018
2.7.3 5,006 4/4/2018
2.7.3-rc3 3,919 4/1/2018
2.7.3-rc2 2,714 3/29/2018
2.7.3-rc1 2,629 3/27/2018
2.7.2 4,982 3/26/2018
2.7.1 10,316 3/13/2018
2.7.1-rc1 2,778 2/28/2018
2.7.0 14,767 2/4/2018
2.7.0-rc1 3,472 1/27/2018
2.6.0 7,074 12/18/2017
2.6.0-rc2 2,832 12/7/2017
2.6.0-rc1 2,693 12/4/2017
2.5.3 5,454 11/25/2017
2.5.3-rc1 3,258 11/22/2017
2.5.2 4,463 11/21/2017
2.5.2-rc1 2,530 11/17/2017
2.5.1 4,425 11/11/2017
2.5.0 5,209 11/8/2017
2.4.0 22,661 10/9/2017
2.3.1 3,856 9/28/2017
2.3.0 3,563 9/20/2017
2.2.1 3,625 8/21/2017
2.2.0 3,890 8/17/2017
2.1.5.1 3,130 8/7/2017
2.1.5 3,394 8/5/2017
2.1.4 4,126 7/15/2017
2.1.3 6,035 6/8/2017
2.1.2 3,407 5/5/2017
2.1.1 7,355 4/8/2017

* [Core] Added net7.0 builds (#1635, thanks to @YAJeff).
* [Core] Added support for payload segments (#1585, thanks to @xljiulang)
* [Client] Added support for passing MQTT v5 options (User properties etc.) for disconnects.
* [Client] An internal exception is no longer caught silently when calling _DisconnectAsync_ to indicate that the disconnect is not clean (BREAKING CHANGE).
* [Client] MQTTv5 features are now checked and an exception is thrown if they are used when using protocol version 3.1.1 and lower. These checks can be disabled in client options. (BREAKING CHANGE!).
* [Client] Added support for disabling packet fragmentation (required for i.e. AWS, #1690, thanks to @logicaloud).
* [Client] Added new overloads for options builder.
* [Client] Renamed _InspectPackage_ to _InspectPacketAsync_ (BREAKING CHANGE).
* [ManagedClient] Exposed added and removed topics in _ManagedProcessFailedEventArgs_ (#1678, thanks to @scottbrogden-iheartmedia).
* [Server] Exposed MQTT v5 sent properties from the affected client in _ClientDisconnectedAsync_ event.
* [Server] Fixed wrong client ID passed to _InterceptingUnsubscriptionEventArgs_ (#1631, thanks to @ghord).
* [Server] Exposed socket settings for TCP keep alive in TCP options (#1544).
* [Server] Exposed server session items at server level and allow custom session items for injected application messages (#1638).
* [Server] Improved performance for retained message handling when subscribing using "DoNotSendOnSubscribe" or "SendAtSubscribeIfNewSubscriptionOnly" (#1661, thanks to @Int32Overflow).
* [Server] Added support for changing the used TLS certificate while the server is running (#1652, thanks to @YAJeff). The certificate provider will now be invoked for every new connection!
* [Server] Added a new API method which allows reading a single retained message without the need to processing the entire set of retained messages (#1659).
* [Server] Added a new event (InterceptingClientEnqueueAsync) which allows intercepting when an application message is enqueued for a client (#1648).
* [Server] Fixed race condition when handling connections which leads to stopped message transfers (#1677, thanks to @RazvanEmilR).
* [Server] Fixed not delivered packets to other sessions if the _InterceptingClientEnqueueEvent_ is used and accepting the packet is denied (#1685, thanks to @RossHNPC).
* [Server] Added missing user properties to subscribe and unsubscribe interceptor (#1702).