MQTTnet 4.0.0-preview5

This is a prerelease version of MQTTnet.
There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package MQTTnet --version 4.0.0-preview5
NuGet\Install-Package MQTTnet -Version 4.0.0-preview5
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.0.0-preview5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MQTTnet --version 4.0.0-preview5
#r "nuget: MQTTnet, 4.0.0-preview5"
#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.0.0-preview5&prerelease

// Install MQTTnet as a Cake Tool
#tool nuget:?package=MQTTnet&version=4.0.0-preview5&prerelease

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 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. 
.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 (235)

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

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 documentation: https://www.mars-group.org/docs/tutorial/intro

GitHub repositories (31)

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.3.3.952 391,388 12/8/2023
4.3.2.930 32,208 12/2/2023
4.3.1.873 474,004 9/6/2023
4.3.0.858 23,854 9/3/2023
4.2.1.781 558,810 5/29/2023
4.2.0.706 215,112 4/23/2023
4.1.4.563 752,245 12/8/2022
4.1.3.436 132,519 11/12/2022
4.1.2.350 249,161 10/24/2022
4.1.1.318 134,686 10/1/2022
4.1.0.247 261,500 8/7/2022
4.0.2.221 104,532 7/13/2022
4.0.1.184 153,577 6/16/2022
4.0.0.167 525,982 6/4/2022
3.1.2 1,519,357 1/27/2022
3.1.1 342,950 12/1/2021
3.1.0 159,328 11/6/2021
3.0.16 795,256 6/28/2021
3.0.15 596,853 2/26/2021
3.0.15-rc2 4,338 2/19/2021
3.0.15-rc1 4,041 2/12/2021
3.0.14 141,539 2/2/2021
3.0.14-rc8 2,626 1/30/2021
3.0.14-rc7 4,103 1/25/2021
3.0.14-rc6 2,466 1/23/2021
3.0.14-rc5 5,572 1/2/2021
3.0.14-rc4 2,799 12/27/2020
3.0.14-rc3 4,717 12/8/2020
3.0.14-rc2 2,917 11/29/2020
3.0.14-rc1 3,711 11/17/2020
3.0.13 623,765 10/24/2020
3.0.13-rc2 2,688 10/15/2020
3.0.13-rc1 11,935 9/19/2020
3.0.12 297,344 8/5/2020
3.0.12-rc2 3,112 7/26/2020
3.0.12-rc1 10,443 5/31/2020
3.0.11 1,080,687 5/16/2020
3.0.10 9,320 5/14/2020
3.0.10-rc2 2,644 5/13/2020
3.0.10-rc1 4,066 5/2/2020
3.0.9 88,497 4/10/2020
3.0.9-rc2 3,459 4/5/2020
3.0.9-rc1 7,024 12/8/2019
3.0.8 828,642 8/19/2019
3.0.7 5,620 8/18/2019
3.0.7-rc2 3,875 8/14/2019
3.0.7-rc1 3,801 8/13/2019
3.0.6 24,676 8/11/2019
3.0.6-beta1 4,673 7/11/2019
3.0.6-alpha1 3,877 7/9/2019
3.0.5 83,460 6/28/2019
3.0.4 6,291 6/27/2019
3.0.3 6,671 6/23/2019
3.0.3-rc3 3,970 6/14/2019
3.0.3-rc2 4,197 6/6/2019
3.0.3-rc1 5,330 5/17/2019
3.0.2 44,940 5/12/2019
3.0.2-rc1 3,385 5/11/2019
3.0.1 14,689 5/11/2019
3.0.0 40,192 5/5/2019
3.0.0-rc3 3,526 5/1/2019
3.0.0-rc2 6,972 4/26/2019
3.0.0-rc1 3,512 4/22/2019
3.0.0-beta1 4,913 4/7/2019
3.0.0-alpha3 3,595 3/24/2019
3.0.0-alpha2 7,549 1/27/2019
3.0.0-alpha1 4,046 12/22/2018
2.8.5 332,922 12/9/2018
2.8.5-rc5 3,670 11/28/2018
2.8.5-rc4 3,705 11/24/2018
2.8.5-rc3 3,665 11/5/2018
2.8.5-rc2 2,412 11/4/2018
2.8.5-rc1 4,880 10/29/2018
2.8.4 68,225 10/6/2018
2.8.4-rc2 2,420 10/4/2018
2.8.4-rc1 2,342 10/4/2018
2.8.3 17,125 10/1/2018
2.8.2 74,139 8/4/2018
2.8.2-rc1 2,588 7/27/2018
2.8.1 14,887 7/8/2018
2.8.1-rc1 2,660 7/7/2018
2.8.0 13,554 7/1/2018
2.8.0-rc6 3,758 6/29/2018
2.8.0-rc5 3,726 6/28/2018
2.8.0-rc4 4,114 6/24/2018
2.8.0-rc3 3,764 6/22/2018
2.8.0-rc2 3,923 6/21/2018
2.8.0-rc1 2,585 6/21/2018
2.8.0-beta1 3,314 6/19/2018
2.8.0-alpha5 5,150 6/6/2018
2.8.0-alpha4 3,032 6/5/2018
2.8.0-alpha3 2,632 6/5/2018
2.8.0-alpha2 2,784 6/4/2018
2.8.0-alpha1 3,650 5/10/2018
2.7.5 111,112 4/28/2018
2.7.5-rc2 2,642 4/25/2018
2.7.5-rc1 2,677 4/24/2018
2.7.4 44,585 4/11/2018
2.7.3 4,874 4/4/2018
2.7.3-rc3 3,854 4/1/2018
2.7.3-rc2 2,675 3/29/2018
2.7.3-rc1 2,578 3/27/2018
2.7.2 4,860 3/26/2018
2.7.1 10,163 3/13/2018
2.7.1-rc1 2,730 2/28/2018
2.7.0 14,476 2/4/2018
2.7.0-rc1 3,415 1/27/2018
2.6.0 6,881 12/18/2017
2.6.0-rc2 2,775 12/7/2017
2.6.0-rc1 2,650 12/4/2017
2.5.3 5,298 11/25/2017
2.5.3-rc1 3,183 11/22/2017
2.5.2 4,344 11/21/2017
2.5.2-rc1 2,476 11/17/2017
2.5.1 4,308 11/11/2017
2.5.0 4,954 11/8/2017
2.4.0 20,710 10/9/2017
2.3.1 3,700 9/28/2017
2.3.0 3,430 9/20/2017
2.2.1 3,517 8/21/2017
2.2.0 3,726 8/17/2017
2.1.5.1 3,063 8/7/2017
2.1.5 3,283 8/5/2017
2.1.4 3,983 7/15/2017
2.1.3 5,913 6/8/2017
2.1.2 3,296 5/5/2017
2.1.1 6,383 4/8/2017

We have joined the .NET Foundation!
Version 4 comes with a new API so a lot of breaking changes should be expected.
Checkout the upgrade guide (https://github.com/dotnet/MQTTnet/wiki/Upgrading-guide) for an overview of the changes.
Checkout the new samples (https://github.com/dotnet/MQTTnet/tree/feature/master/Samples) how to use the new API. The wiki only remains for version 3 of this library.
* [Core] Improved memory management when working with large payloads.
* [Core] Added support for .NET 6.0.
* [Core] nuget packages are now created by MSBuild including more information (i.e. commit hash).
* [Client] The OS will now choose the best TLS version to use. It is no longer fixed to 1.3 etc. (thanks to @patagonaa, #1271).
* [Client] Added support for _ServerKeepAlive_ (MQTTv5).
* [Client] Exposed user properties and reason string in subscribe result.
* [Client] Exposed user properties and reason string in unsubscribe result.
* [Client] Migrated application message handler to a regular .NET event (BREAKING CHANGE!).
* [Client] The will message is longer a regular application message due to not supported properties by the will message (BREAKING CHANGE!).
* [Server] Added support for returning individual subscription errors (#80 thanks to @jimch)
* [Server] Improved topic filter comparisons (support for $).
* [Server] Added more MQTTv5 response information to all interceptors (BREAKING CHANGE!).
* [Server] Improved session management for MQTT v5 (#1294, thanks to @logicaloud).
* [Server] All interceptors and events are migrated from interfaces to simple events. All existing APIs are availble but must be migrated to corresponding events (BREAKING CHANGE!).
* [Server] Removed all interceptor and event interfaces including the delegate implementations etc. (BREAKING CHANGE!).
* [Server] Renamed a lot of classes and adjusted namespaces (BREAKING CHANGE!).
* [Server] Introduced a new queueing approach for internal message process (packet bus).
* [Server] For security reasons the default endpoint (1883) is no longer enabled by default (BREAKING CHANGE!).