MQTTnet 3.0.0-alpha3

This is a prerelease version of MQTTnet.
There is a newer version of this package available.
See the version list below for details.
dotnet add package MQTTnet --version 3.0.0-alpha3
                    
NuGet\Install-Package MQTTnet -Version 3.0.0-alpha3
                    
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="3.0.0-alpha3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MQTTnet" Version="3.0.0-alpha3" />
                    
Directory.Packages.props
<PackageReference Include="MQTTnet" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MQTTnet --version 3.0.0-alpha3
                    
#r "nuget: MQTTnet, 3.0.0-alpha3"
                    
#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.
#:package MQTTnet@3.0.0-alpha3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MQTTnet&version=3.0.0-alpha3&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=MQTTnet&version=3.0.0-alpha3&prerelease
                    
Install as a Cake Tool

MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker).

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net452 is compatible.  net46 was computed.  net461 is compatible.  net462 is compatible.  net463 was computed.  net47 is compatible.  net471 is compatible.  net472 is compatible.  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 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 (328)

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.

MQTTnet.Server

This is the server implementation of MQTTnet.

L.Common.Core

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.1.1416 1,000,015 1/5/2025
5.0.0.1405 13,977 12/31/2024
5.0.0.1214-RC 17,362 9/22/2024
4.3.7.1207 1,865,106 9/7/2024
4.3.6.1152 1,153,416 5/24/2024
4.3.5.1141 147,630 5/19/2024
4.3.4.1084 36,619 5/14/2024
4.3.3.952 1,616,746 12/8/2023
4.3.2.930 71,081 12/2/2023
4.3.1.873 1,015,470 9/6/2023
4.3.0.858 43,381 9/3/2023
4.2.1.781 861,654 5/29/2023
4.2.0.706 306,569 4/23/2023
4.1.4.563 1,148,659 12/8/2022
4.1.3.436 156,735 11/12/2022
4.1.2.350 441,577 10/24/2022
4.1.1.318 174,144 10/1/2022
4.1.0.247 347,220 8/7/2022
4.0.2.221 134,517 7/13/2022
4.0.1.184 218,457 6/16/2022
4.0.0.167 1,691,349 6/4/2022
3.1.2 2,314,075 1/27/2022
3.1.1 418,760 12/1/2021
3.1.0 244,122 11/6/2021
3.0.16 1,039,168 6/28/2021
3.0.15 739,816 2/26/2021
3.0.15-rc2 5,103 2/19/2021
3.0.15-rc1 4,390 2/12/2021
3.0.14 159,326 2/2/2021
3.0.14-rc8 2,981 1/30/2021
3.0.14-rc7 4,502 1/25/2021
3.0.14-rc6 2,859 1/23/2021
3.0.14-rc5 6,129 1/2/2021
3.0.14-rc4 3,177 12/27/2020
3.0.14-rc3 5,604 12/8/2020
3.0.14-rc2 3,289 11/29/2020
3.0.14-rc1 4,171 11/17/2020
3.0.13 750,100 10/24/2020
3.0.13-rc2 3,003 10/15/2020
3.0.13-rc1 12,317 9/19/2020
3.0.12 316,618 8/5/2020
3.0.12-rc2 3,495 7/26/2020
3.0.12-rc1 10,868 5/31/2020
3.0.11 1,216,956 5/16/2020
3.0.10 10,129 5/14/2020
3.0.10-rc2 2,993 5/13/2020
3.0.10-rc1 4,432 5/2/2020
3.0.9 99,214 4/10/2020
3.0.9-rc2 3,813 4/5/2020
3.0.9-rc1 7,455 12/8/2019
3.0.8 1,041,710 8/19/2019
3.0.7 6,235 8/18/2019
3.0.7-rc2 4,248 8/14/2019
3.0.7-rc1 4,146 8/13/2019
3.0.6 25,901 8/11/2019
3.0.6-beta1 5,054 7/11/2019
3.0.6-alpha1 4,277 7/9/2019
3.0.5 100,976 6/28/2019
3.0.4 9,771 6/27/2019
3.0.3 7,387 6/23/2019
3.0.3-rc3 4,375 6/14/2019
3.0.3-rc2 4,556 6/6/2019
3.0.3-rc1 5,688 5/17/2019
3.0.2 46,362 5/12/2019
3.0.2-rc1 3,721 5/11/2019
3.0.1 16,617 5/11/2019
3.0.0 43,446 5/5/2019
3.0.0-rc3 3,863 5/1/2019
3.0.0-rc2 8,578 4/26/2019
3.0.0-rc1 3,928 4/22/2019
3.0.0-beta1 5,332 4/7/2019
3.0.0-alpha3 3,972 3/24/2019
3.0.0-alpha2 7,906 1/27/2019
3.0.0-alpha1 4,384 12/22/2018
2.8.5 371,854 12/9/2018
2.8.5-rc5 4,026 11/28/2018
2.8.5-rc4 4,079 11/24/2018
2.8.5-rc3 4,044 11/5/2018
2.8.5-rc2 2,655 11/4/2018
2.8.5-rc1 5,338 10/29/2018
2.8.4 73,347 10/6/2018
2.8.4-rc2 2,673 10/4/2018
2.8.4-rc1 2,595 10/4/2018
2.8.3 18,008 10/1/2018
2.8.2 84,216 8/4/2018
2.8.2-rc1 2,974 7/27/2018
2.8.1 16,523 7/8/2018
2.8.1-rc1 3,136 7/7/2018
2.8.0 15,656 7/1/2018
2.8.0-rc6 4,241 6/29/2018
2.8.0-rc5 4,211 6/28/2018
2.8.0-rc4 4,740 6/24/2018
2.8.0-rc3 4,318 6/22/2018
2.8.0-rc2 4,491 6/21/2018
2.8.0-rc1 3,054 6/21/2018
2.8.0-beta1 3,871 6/19/2018
2.8.0-alpha5 5,875 6/6/2018
2.8.0-alpha4 3,537 6/5/2018
2.8.0-alpha3 3,107 6/5/2018
2.8.0-alpha2 3,272 6/4/2018
2.8.0-alpha1 7,696 5/10/2018
2.7.5 140,734 4/28/2018
2.7.5-rc2 3,115 4/25/2018
2.7.5-rc1 3,147 4/24/2018
2.7.4 45,603 4/11/2018
2.7.3 5,490 4/4/2018
2.7.3-rc3 4,367 4/1/2018
2.7.3-rc2 3,154 3/29/2018
2.7.3-rc1 3,057 3/27/2018
2.7.2 5,507 3/26/2018
2.7.1 10,899 3/13/2018
2.7.1-rc1 3,231 2/28/2018
2.7.0 15,395 2/4/2018
2.7.0-rc1 3,926 1/27/2018
2.6.0 7,556 12/18/2017
2.6.0-rc2 3,285 12/7/2017
2.6.0-rc1 3,013 12/4/2017
2.5.3 5,880 11/25/2017
2.5.3-rc1 3,626 11/22/2017
2.5.2 4,874 11/21/2017
2.5.2-rc1 2,870 11/17/2017
2.5.1 4,952 11/11/2017
2.5.0 5,998 11/8/2017
2.4.0 25,968 10/9/2017
2.3.1 4,384 9/28/2017
2.3.0 3,981 9/20/2017
2.2.1 4,021 8/21/2017
2.2.0 4,329 8/17/2017
2.1.5.1 3,520 8/7/2017
2.1.5 3,790 8/5/2017
2.1.4 4,564 7/15/2017
2.1.3 6,436 6/8/2017
2.1.2 3,922 5/5/2017
2.1.1 13,301 4/8/2017

* [Core] Added support for MQTTv5 packages.
* [Core] Performance improvements (removed several exceptions).
* [Core] Removed obsolete methods.
* [Core] Fixed a memory leak when processing lots of messages (thanks to @tschanko)
* [Core] Added more overloads for MQTT factory.
* [Core] The client password is now hidden from the logs (replaced with **** if set).
* [Client] Added validation of topics before publishing.
* [Client] Added new MQTTv5 features to options builder.
* [Client] Added uniform API across all supported MQTT versions (BREAKING CHANGE!)
* [Client] The client will now avoid sending an ACK if an exception has been thrown in message handler (thanks to @ramonsmits).
* [Client] Fixed issues in QoS 2 handling which leads to message loss.
* [Client] Replaced all events with proper async compatible handlers (BREAKING CHANGE!).
* [ManagedClient] Replaced all events with proper async compatible handlers (BREAKING CHANGE!).
* [ManagedClient] The log ID is now propagated to the internal client (thanks to @vbBerni).
* [ManagedClient] Added validation of topics before publishing.
* [ManagedClient] The internal MQTT client is now closed properly (thanks to @vbBerni).
* [Server] Added support for MQTTv5 clients. The server will still return _success_ for all cases at the moment even if more granular codes are available.
* [Server] Fixed issues in QoS 2 handling which leads to message loss.
* [Server] Replaced all events with proper async compatible handlers (BREAKING CHANGE!).
* [Server] The used logger instance is now propagated to the WebSocket server adapter.
* [Server] Added the flag "IsSecureConnection" which is set to true when the connection is encrypted.
* [Server] Fixed wrong will message behavior when stopping server (thanks to @JohBa)
* [Server] Added validation of topics before publishing.
* [MQTTnet Server] Added as first Alpha version of standalone cross platform MQTT server.

* [Note] Due to MQTTv5 a lot of new classes were introduced. This required adding new namespaces as well. Most classes are backward compatible but new namespaces must be added.