MQTTnet 3.0.3

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.

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

Release Notes

* [Core] Fixed issues in MQTTv5 message encoding and decoding.
* [Core] Added extension method to allow usage of _WebSocket4Net_ in clients to fix issues with AWS and Xamarin.
* [Core] Fixed usage of wrong data type for passwords (string -> byte[]).
* [Core] Fixed an _ObjectDisposedException_ when sending data using a WebSocket channel.
* [Core] Performance optimizations.
* [Client] Added support for extended authentication exchange.
* [Client] Exposed MQTTv5 CONNACK values to client.
* [Client] Added _MqttClientSubscribeOptionsBuilder_.
* [Client] The disconnected handler is now executed in a new task to prevent deadlocks when reconnecting etc. (thanks to @lizziebeans).
* [Client] Converted option _DualMode_ into nullable boolean to preserve original value and avoid exceptions in IPv4 only networks (thanks to @lavaflo).
* [Server] Exposed _ClientCertificateRequired_ and _CheckCertificateRevocation_ at TLS options.
* [Server] Exposed client certificate at client connection validator.
* [Server] The subscription interceptor now supports altering the entire topic filter.
* [Server] Exposed more properties to the connection validator context.
* [MQTTnet.Server] Added authentication support via Python script file.
* [MQTTnet.Server] Migrated the result of connection validations to _ReasonCode_ (MQTTv5) instead of _ReturnCode_ (MQTTv3 only) (BREAKING CHANGE!).

Showing the top 2 GitHub repositories that depend on MQTTnet:

Repository Stars
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.

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
3.0.9-rc1 93 12/8/2019
3.0.8 44,403 8/19/2019
3.0.7 1,646 8/18/2019
3.0.7-rc2 1,209 8/14/2019
3.0.7-rc1 1,203 8/13/2019
3.0.6 8,398 8/11/2019
3.0.6-beta1 1,678 7/11/2019
3.0.6-alpha1 1,245 7/9/2019
3.0.5 17,118 6/28/2019
3.0.4 1,725 6/27/2019
3.0.3 2,586 6/23/2019
3.0.3-rc3 1,294 6/14/2019
3.0.3-rc2 1,434 6/6/2019
3.0.3-rc1 1,846 5/17/2019
3.0.2 15,758 5/12/2019
3.0.2-rc1 1,197 5/11/2019
3.0.1 1,482 5/11/2019
3.0.0 10,274 5/5/2019
3.0.0-rc3 1,272 5/1/2019
3.0.0-rc2 1,299 4/26/2019
3.0.0-rc1 1,246 4/22/2019
3.0.0-beta1 2,041 4/7/2019
3.0.0-alpha3 1,377 3/24/2019
3.0.0-alpha2 5,217 1/27/2019
3.0.0-alpha1 1,670 12/22/2018
2.8.5 88,755 12/9/2018
2.8.5-rc5 1,389 11/28/2018
2.8.5-rc4 1,307 11/24/2018
2.8.5-rc3 1,408 11/5/2018
2.8.5-rc2 1,279 11/4/2018
2.8.5-rc1 1,606 10/29/2018
2.8.4 35,993 10/6/2018
2.8.4-rc2 1,292 10/4/2018
2.8.4-rc1 1,261 10/4/2018
2.8.3 13,500 10/1/2018
2.8.2 32,903 8/4/2018
2.8.2-rc1 1,417 7/27/2018
2.8.1 7,922 7/8/2018
2.8.1-rc1 1,395 7/7/2018
2.8.0 3,453 7/1/2018
2.8.0-rc6 1,346 6/29/2018
2.8.0-rc5 1,334 6/28/2018
2.8.0-rc4 1,482 6/24/2018
2.8.0-rc3 1,362 6/22/2018
2.8.0-rc2 1,367 6/21/2018
2.8.0-rc1 1,350 6/21/2018
2.8.0-beta1 1,370 6/19/2018
2.8.0-alpha5 1,781 6/6/2018
2.8.0-alpha4 1,820 6/5/2018
2.8.0-alpha3 1,342 6/5/2018
2.8.0-alpha2 1,528 6/4/2018
2.8.0-alpha1 2,293 5/10/2018
2.7.5 20,054 4/28/2018
2.7.5-rc2 1,420 4/25/2018
2.7.5-rc1 1,461 4/24/2018
2.7.4 14,377 4/11/2018
2.7.3 2,478 4/4/2018
2.7.3-rc3 2,452 4/1/2018
2.7.3-rc2 1,451 3/29/2018
2.7.3-rc1 1,388 3/27/2018
2.7.2 2,628 3/26/2018
2.7.1 6,023 3/13/2018
2.7.1-rc1 1,450 2/28/2018
2.7.0 9,139 2/4/2018
2.7.0-rc1 1,600 1/27/2018
2.6.0 3,970 12/18/2017
2.6.0-rc2 1,498 12/7/2017
2.6.0-rc1 1,405 12/4/2017
2.5.3 2,627 11/25/2017
2.5.3-rc1 1,391 11/22/2017
2.5.2 1,916 11/21/2017
2.5.2-rc1 1,357 11/17/2017
2.5.1 1,829 11/11/2017
2.5.0 1,760 11/8/2017
2.4.0 4,532 10/9/2017
2.3.1 1,782 9/28/2017
2.3.0 1,558 9/20/2017
2.2.1 1,739 8/21/2017
2.2.0 1,522 8/17/2017
2.1.5.1 1,506 8/7/2017
2.1.5 1,448 8/5/2017
2.1.4 1,682 7/15/2017
2.1.3 4,201 6/8/2017
2.1.2 1,669 5/5/2017
2.1.1 1,884 4/8/2017
Show less