MQTTnet 2.7.1

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

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

Release Notes

* [Core] Fixed wrong parsing of ConnAck packet for protocol version 3.1.0.
* [Core] Log messages are now overriding ToString() and providing a ready to use text representation.
* [Client] Optimized package dispatcher and added several new exceptions.
* [Client] The _ManagedClient_ now has an event which is fired after a queued application message was processed (including exception).
* [Client] The _ManagedClient_ now supports unsubscribing (thanks to @lerppana)
* [Server] Fixed some minor async issues.
* [Server] Fixed wrong comparison of the topic and QoS for retained messages.
* [Server] Added a property which provides access to the used options (read only).
* [Server] Fixed a null ref expection when using an interceptor and publishing via the server directly.

Showing the top 4 GitHub repositories that depend on MQTTnet:

Repository Stars
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.9-rc2 0 4/5/2020
3.0.9-rc1 2,048 12/8/2019
3.0.8 120,640 8/19/2019
3.0.7 1,917 8/18/2019
3.0.7-rc2 1,237 8/14/2019
3.0.7-rc1 1,225 8/13/2019
3.0.6 11,394 8/11/2019
3.0.6-beta1 1,804 7/11/2019
3.0.6-alpha1 1,267 7/9/2019
3.0.5 20,507 6/28/2019
3.0.4 1,897 6/27/2019
3.0.3 2,773 6/23/2019
3.0.3-rc3 1,332 6/14/2019
3.0.3-rc2 1,461 6/6/2019
3.0.3-rc1 2,005 5/17/2019
3.0.2 20,549 5/12/2019
3.0.2-rc1 1,219 5/11/2019
3.0.1 1,534 5/11/2019
3.0.0 12,901 5/5/2019
3.0.0-rc3 1,296 5/1/2019
3.0.0-rc2 1,380 4/26/2019
3.0.0-rc1 1,272 4/22/2019
3.0.0-beta1 2,193 4/7/2019
3.0.0-alpha3 1,405 3/24/2019
3.0.0-alpha2 5,251 1/27/2019
3.0.0-alpha1 1,698 12/22/2018
2.8.5 108,344 12/9/2018
2.8.5-rc5 1,409 11/28/2018
2.8.5-rc4 1,330 11/24/2018
2.8.5-rc3 1,439 11/5/2018
2.8.5-rc2 1,299 11/4/2018
2.8.5-rc1 1,625 10/29/2018
2.8.4 38,526 10/6/2018
2.8.4-rc2 1,311 10/4/2018
2.8.4-rc1 1,282 10/4/2018
2.8.3 13,613 10/1/2018
2.8.2 35,023 8/4/2018
2.8.2-rc1 1,446 7/27/2018
2.8.1 8,334 7/8/2018
2.8.1-rc1 1,431 7/7/2018
2.8.0 3,853 7/1/2018
2.8.0-rc6 1,375 6/29/2018
2.8.0-rc5 1,363 6/28/2018
2.8.0-rc4 1,519 6/24/2018
2.8.0-rc3 1,400 6/22/2018
2.8.0-rc2 1,402 6/21/2018
2.8.0-rc1 1,386 6/21/2018
2.8.0-beta1 1,406 6/19/2018
2.8.0-alpha5 1,817 6/6/2018
2.8.0-alpha4 1,861 6/5/2018
2.8.0-alpha3 1,377 6/5/2018
2.8.0-alpha2 1,564 6/4/2018
2.8.0-alpha1 2,332 5/10/2018
2.7.5 23,596 4/28/2018
2.7.5-rc2 1,460 4/25/2018
2.7.5-rc1 1,497 4/24/2018
2.7.4 14,759 4/11/2018
2.7.3 2,532 4/4/2018
2.7.3-rc3 2,488 4/1/2018
2.7.3-rc2 1,487 3/29/2018
2.7.3-rc1 1,423 3/27/2018
2.7.2 2,724 3/26/2018
2.7.1 6,737 3/13/2018
2.7.1-rc1 1,486 2/28/2018
2.7.0 10,048 2/4/2018
2.7.0-rc1 1,635 1/27/2018
2.6.0 4,106 12/18/2017
2.6.0-rc2 1,539 12/7/2017
2.6.0-rc1 1,433 12/4/2017
2.5.3 2,692 11/25/2017
2.5.3-rc1 1,419 11/22/2017
2.5.2 2,002 11/21/2017
2.5.2-rc1 1,386 11/17/2017
2.5.1 1,884 11/11/2017
2.5.0 1,895 11/8/2017
2.4.0 5,817 10/9/2017
2.3.1 1,839 9/28/2017
2.3.0 1,623 9/20/2017
2.2.1 1,779 8/21/2017
2.2.0 1,606 8/17/2017
2.1.5.1 1,549 8/7/2017
2.1.5 1,486 8/5/2017
2.1.4 1,719 7/15/2017
2.1.3 4,262 6/8/2017
2.1.2 1,723 5/5/2017
2.1.1 2,035 4/8/2017
Show less