MQTTnet 2.6.0-rc2

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

This is a prerelease version of MQTTnet.
There is a newer version of this package available.
See the version list below for details.
Install-Package MQTTnet -Version 2.6.0-rc2
dotnet add package MQTTnet --version 2.6.0-rc2
<PackageReference Include="MQTTnet" Version="2.6.0-rc2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MQTTnet --version 2.6.0-rc2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

* [Core] Merged projects (BREAKING CHANGE! But only namespace changes).
* [Core] Added a strong name for the assembly.
* [Core] Performance optimizations.
* [Core] Fixed a logging issue when dealing with IOExceptions.
* [Core] Fixed a typo in the global logger class (BREAKING CHANGE! Please find new example in Wiki).
* [Client] The certificate for encryption is now loaded as a _X509Certificate2_ which prodives more data (Thanks to @cvellan).
* [Client] Fixed an issue in _ManagedClient_ which can cause the client to stop when publishing subscriptions.
* [Client] Fixed an issue in _ManagedClient_ which prevents changing the QoS of an existing subscription (BREAKING CHANGE!).
* [Client] Fixed an issue in _MqttClientOptionsBuilder_ which prevents adding TLS options to the client options when calling _Build()_. (Thanks to @cvellan).
* [Server] The application message interceptor can now delete any received application message.
* [Server] Added a ConnectionValidator context to align with other APIs (BREAKING CHANGE! Please find new example in Wiki).
* [Server] Added an interface for the _MqttServerOptions_.
* [Server] Added packet statistics for the connected clients.
* [Server] Fixed a security issue which sends retained packages to a failed subscription.
* [Server] Fixed the response (MaximumQoS) of a subscription (Thanks to @redbeans2017).
* [Server] The keep alive timeouts are now checked for every client (Thanks to @RainerMueller82).

Showing the top 5 GitHub repositories that depend on MQTTnet:

Repository Stars
ArduPilot/MissionPlanner
Mission Planner Ground Control Station (c# .net)
yllibed/Zigbee2MqttAssistant
GUI for Zigbee2Mqtt running in docker and HASS.IO
Hyrules/WinHue
Controlling the Philips Hue lighting system from your Windows PC.
chkr1011/Wirehome.Core
Wirehome.Core is a home automation system written in C# targeting .NET Core. It runs on Linux, Windows and macOS.
IoTSharp/IoTSharp
IoTSharp is an open-source IoT platform for data collection, processing, visualization, and device management.

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
3.0.12-rc1 74 5/31/2020
3.0.11 4,979 5/16/2020
3.0.10 1,107 5/14/2020
3.0.10-rc2 42 5/13/2020
3.0.10-rc1 1,447 5/2/2020
3.0.9 15,165 4/10/2020
3.0.9-rc2 793 4/5/2020
3.0.9-rc1 2,880 12/8/2019
3.0.8 181,487 8/19/2019
3.0.7 2,027 8/18/2019
3.0.7-rc2 1,262 8/14/2019
3.0.7-rc1 1,253 8/13/2019
3.0.6 12,980 8/11/2019
3.0.6-beta1 1,846 7/11/2019
3.0.6-alpha1 1,297 7/9/2019
3.0.5 23,047 6/28/2019
3.0.4 2,005 6/27/2019
3.0.3 2,864 6/23/2019
3.0.3-rc3 1,375 6/14/2019
3.0.3-rc2 1,501 6/6/2019
3.0.3-rc1 2,146 5/17/2019
3.0.2 22,665 5/12/2019
3.0.2-rc1 1,256 5/11/2019
3.0.1 1,587 5/11/2019
3.0.0 13,836 5/5/2019
3.0.0-rc3 1,320 5/1/2019
3.0.0-rc2 1,428 4/26/2019
3.0.0-rc1 1,310 4/22/2019
3.0.0-beta1 2,231 4/7/2019
3.0.0-alpha3 1,434 3/24/2019
3.0.0-alpha2 5,274 1/27/2019
3.0.0-alpha1 1,736 12/22/2018
2.8.5 121,795 12/9/2018
2.8.5-rc5 1,443 11/28/2018
2.8.5-rc4 1,354 11/24/2018
2.8.5-rc3 1,465 11/5/2018
2.8.5-rc2 1,318 11/4/2018
2.8.5-rc1 1,670 10/29/2018
2.8.4 40,042 10/6/2018
2.8.4-rc2 1,332 10/4/2018
2.8.4-rc1 1,306 10/4/2018
2.8.3 13,666 10/1/2018
2.8.2 36,140 8/4/2018
2.8.2-rc1 1,474 7/27/2018
2.8.1 8,519 7/8/2018
2.8.1-rc1 1,456 7/7/2018
2.8.0 4,011 7/1/2018
2.8.0-rc6 1,413 6/29/2018
2.8.0-rc5 1,390 6/28/2018
2.8.0-rc4 1,551 6/24/2018
2.8.0-rc3 1,431 6/22/2018
2.8.0-rc2 1,468 6/21/2018
2.8.0-rc1 1,413 6/21/2018
2.8.0-beta1 1,441 6/19/2018
2.8.0-alpha5 1,862 6/6/2018
2.8.0-alpha4 1,887 6/5/2018
2.8.0-alpha3 1,404 6/5/2018
2.8.0-alpha2 1,593 6/4/2018
2.8.0-alpha1 2,357 5/10/2018
2.7.5 27,306 4/28/2018
2.7.5-rc2 1,491 4/25/2018
2.7.5-rc1 1,523 4/24/2018
2.7.4 15,310 4/11/2018
2.7.3 2,562 4/4/2018
2.7.3-rc3 2,518 4/1/2018
2.7.3-rc2 1,518 3/29/2018
2.7.3-rc1 1,455 3/27/2018
2.7.2 2,762 3/26/2018
2.7.1 6,920 3/13/2018
2.7.1-rc1 1,518 2/28/2018
2.7.0 10,525 2/4/2018
2.7.0-rc1 1,673 1/27/2018
2.6.0 4,154 12/18/2017
2.6.0-rc2 1,571 12/7/2017
2.6.0-rc1 1,459 12/4/2017
2.5.3 2,734 11/25/2017
2.5.3-rc1 1,456 11/22/2017
2.5.2 2,089 11/21/2017
2.5.2-rc1 1,412 11/17/2017
2.5.1 1,923 11/11/2017
2.5.0 1,953 11/8/2017
2.4.0 6,224 10/9/2017
2.3.1 1,890 9/28/2017
2.3.0 1,656 9/20/2017
2.2.1 1,807 8/21/2017
2.2.0 1,656 8/17/2017
2.1.5.1 1,583 8/7/2017
2.1.5 1,527 8/5/2017
2.1.4 1,768 7/15/2017
2.1.3 4,298 6/8/2017
2.1.2 1,760 5/5/2017
2.1.1 2,120 4/8/2017
Show less