MQTTnet 4.0.0-preview5
See the version list below for details.
Install-Package MQTTnet -Version 4.0.0-preview5
dotnet add package MQTTnet --version 4.0.0-preview5
<PackageReference Include="MQTTnet" Version="4.0.0-preview5" />
paket add MQTTnet --version 4.0.0-preview5
#r "nuget: MQTTnet, 4.0.0-preview5"
// 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 | 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 uap10.0.10240 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETCoreApp 3.1
- No dependencies.
-
.NETFramework 4.5.2
- No dependencies.
-
.NETFramework 4.6.1
- No dependencies.
-
.NETStandard 1.3
- NETStandard.Library (>= 1.6.1)
- System.Net.Security (>= 4.3.2)
- System.Net.WebSockets (>= 4.3.0)
- System.Net.WebSockets.Client (>= 4.3.2)
-
.NETStandard 2.0
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
-
net5.0
- No dependencies.
-
net6.0
- No dependencies.
-
UAP 10.0.10240
- Microsoft.NETCore.UniversalWindowsPlatform (>= 6.2.10)
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 (17)
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 (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
|
Version | Downloads | Last updated |
---|---|---|
4.0.1.184 | 6,997 | 6/16/2022 |
4.0.0.167 | 8,609 | 6/4/2022 |
3.1.2 | 260,858 | 1/27/2022 |
3.1.1 | 158,379 | 12/1/2021 |
3.1.0 | 56,682 | 11/6/2021 |
3.0.16 | 406,264 | 6/28/2021 |
3.0.15 | 349,029 | 2/26/2021 |
3.0.15-rc2 | 2,202 | 2/19/2021 |
3.0.15-rc1 | 1,997 | 2/12/2021 |
3.0.14 | 84,324 | 2/2/2021 |
3.0.14-rc8 | 551 | 1/30/2021 |
3.0.14-rc7 | 2,120 | 1/25/2021 |
3.0.14-rc6 | 410 | 1/23/2021 |
3.0.14-rc5 | 3,348 | 1/2/2021 |
3.0.14-rc4 | 736 | 12/27/2020 |
3.0.14-rc3 | 2,055 | 12/8/2020 |
3.0.14-rc2 | 1,116 | 11/29/2020 |
3.0.14-rc1 | 1,259 | 11/17/2020 |
3.0.13 | 325,303 | 10/24/2020 |
3.0.13-rc2 | 604 | 10/15/2020 |
3.0.13-rc1 | 9,608 | 9/19/2020 |
3.0.12 | 221,028 | 8/5/2020 |
3.0.12-rc2 | 1,022 | 7/26/2020 |
3.0.12-rc1 | 8,035 | 5/31/2020 |
3.0.11 | 462,825 | 5/16/2020 |
3.0.10 | 6,349 | 5/14/2020 |
3.0.10-rc2 | 520 | 5/13/2020 |
3.0.10-rc1 | 1,965 | 5/2/2020 |
3.0.9 | 62,548 | 4/10/2020 |
3.0.9-rc2 | 1,411 | 4/5/2020 |
3.0.9-rc1 | 4,782 | 12/8/2019 |
3.0.8 | 506,165 | 8/19/2019 |
3.0.7 | 2,942 | 8/18/2019 |
3.0.7-rc2 | 1,754 | 8/14/2019 |
3.0.7-rc1 | 1,751 | 8/13/2019 |
3.0.6 | 21,653 | 8/11/2019 |
3.0.6-beta1 | 2,502 | 7/11/2019 |
3.0.6-alpha1 | 1,777 | 7/9/2019 |
3.0.5 | 55,399 | 6/28/2019 |
3.0.4 | 3,177 | 6/27/2019 |
3.0.3 | 3,958 | 6/23/2019 |
3.0.3-rc3 | 1,871 | 6/14/2019 |
3.0.3-rc2 | 2,128 | 6/6/2019 |
3.0.3-rc1 | 3,213 | 5/17/2019 |
3.0.2 | 36,958 | 5/12/2019 |
3.0.2-rc1 | 1,692 | 5/11/2019 |
3.0.1 | 6,310 | 5/11/2019 |
3.0.0 | 29,336 | 5/5/2019 |
3.0.0-rc3 | 1,781 | 5/1/2019 |
3.0.0-rc2 | 3,798 | 4/26/2019 |
3.0.0-rc1 | 1,770 | 4/22/2019 |
3.0.0-beta1 | 2,914 | 4/7/2019 |
3.0.0-alpha3 | 1,866 | 3/24/2019 |
3.0.0-alpha2 | 5,812 | 1/27/2019 |
3.0.0-alpha1 | 2,284 | 12/22/2018 |
2.8.5 | 255,346 | 12/9/2018 |
2.8.5-rc5 | 1,971 | 11/28/2018 |
2.8.5-rc4 | 1,921 | 11/24/2018 |
2.8.5-rc3 | 1,987 | 11/5/2018 |
2.8.5-rc2 | 1,668 | 11/4/2018 |
2.8.5-rc1 | 2,353 | 10/29/2018 |
2.8.4 | 56,635 | 10/6/2018 |
2.8.4-rc2 | 1,694 | 10/4/2018 |
2.8.4-rc1 | 1,667 | 10/4/2018 |
2.8.3 | 14,643 | 10/1/2018 |
2.8.2 | 51,126 | 8/4/2018 |
2.8.2-rc1 | 1,854 | 7/27/2018 |
2.8.1 | 11,161 | 7/8/2018 |
2.8.1-rc1 | 1,868 | 7/7/2018 |
2.8.0 | 7,210 | 7/1/2018 |
2.8.0-rc6 | 1,988 | 6/29/2018 |
2.8.0-rc5 | 1,933 | 6/28/2018 |
2.8.0-rc4 | 2,240 | 6/24/2018 |
2.8.0-rc3 | 2,076 | 6/22/2018 |
2.8.0-rc2 | 2,080 | 6/21/2018 |
2.8.0-rc1 | 1,799 | 6/21/2018 |
2.8.0-beta1 | 1,993 | 6/19/2018 |
2.8.0-alpha5 | 2,812 | 6/6/2018 |
2.8.0-alpha4 | 2,320 | 6/5/2018 |
2.8.0-alpha3 | 1,818 | 6/5/2018 |
2.8.0-alpha2 | 2,030 | 6/4/2018 |
2.8.0-alpha1 | 2,826 | 5/10/2018 |
2.7.5 | 73,801 | 4/28/2018 |
2.7.5-rc2 | 1,913 | 4/25/2018 |
2.7.5-rc1 | 1,947 | 4/24/2018 |
2.7.4 | 33,540 | 4/11/2018 |
2.7.3 | 3,220 | 4/4/2018 |
2.7.3-rc3 | 2,984 | 4/1/2018 |
2.7.3-rc2 | 1,923 | 3/29/2018 |
2.7.3-rc1 | 1,867 | 3/27/2018 |
2.7.2 | 3,393 | 3/26/2018 |
2.7.1 | 8,623 | 3/13/2018 |
2.7.1-rc1 | 1,930 | 2/28/2018 |
2.7.0 | 12,543 | 2/4/2018 |
2.7.0-rc1 | 2,135 | 1/27/2018 |
2.6.0 | 5,137 | 12/18/2017 |
2.6.0-rc2 | 1,986 | 12/7/2017 |
2.6.0-rc1 | 1,841 | 12/4/2017 |
2.5.3 | 3,621 | 11/25/2017 |
2.5.3-rc1 | 1,912 | 11/22/2017 |
2.5.2 | 2,780 | 11/21/2017 |
2.5.2-rc1 | 1,788 | 11/17/2017 |
2.5.1 | 2,715 | 11/11/2017 |
2.5.0 | 3,087 | 11/8/2017 |
2.4.0 | 13,927 | 10/9/2017 |
2.3.1 | 2,666 | 9/28/2017 |
2.3.0 | 2,385 | 9/20/2017 |
2.2.1 | 2,525 | 8/21/2017 |
2.2.0 | 2,611 | 8/17/2017 |
2.1.5.1 | 2,129 | 8/7/2017 |
2.1.5 | 2,255 | 8/5/2017 |
2.1.4 | 2,822 | 7/15/2017 |
2.1.3 | 4,961 | 6/8/2017 |
2.1.2 | 2,332 | 5/5/2017 |
2.1.1 | 3,406 | 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!).