MQTTnet 4.0.0.167

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.

Showing the top 20 packages that depend on MQTTnet.

Packages Downloads
MQTTnet.Extensions.ManagedClient
This is an extension library which provides a managed MQTT client with additional features using MQTTnet.
3
MQTTnet.Extensions.ManagedClient
This is an extension library which provides a managed MQTT client with additional features using MQTTnet.
2
MQTTnet.Extensions.ManagedClient
This is an extension library which provides a managed MQTT client with additional features using MQTTnet.
1

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. Preview builds of this library are available at: https://www.myget.org/feed/mqttnet/package/nuget/MQTTnet * [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] Exposed socket linger state in options. * [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!). * [Client] Timeouts are no longer handled inside the library. Each method (Connect, Publish etc.) supports a cancellation token so that custom timeouts can and must be used (BREAKING CHANGE!). * [Client] Exposed certificate revocation mode on options (@andyolivares). * [Server] Exposed socket linger state in options. * [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!). * [Server] Added support for choosing the cipher suite (thanks to @TimSiefert). * [Nuget] Added method summaries etc. to nuget packages (thanks to @SpringHgui).

.NET Framework 4.5.2

  • No dependencies.

.NET Standard 2.1

  • No dependencies.

.NET 6.0

  • No dependencies.

.NET 5.0

  • No dependencies.

.NET Core 3.1

  • No dependencies.

UAP 10.0.10240

.NET Standard 2.0

  • No dependencies.

.NET Standard 1.3

.NET Framework 4.6.1

  • No dependencies.

Version Downloads Last updated
5.0.1.1416 1 2025/6/3
5.0.0.1405 1 2025/6/4
5.0.0.1214-RC 1 2025/6/4
4.3.7.1207 1 2025/6/4
4.3.6.1152 1 2025/6/4
4.3.5.1141 1 2025/6/5
4.3.4.1084 1 2025/6/5
4.3.3.952 1 2025/6/4
4.3.2.930 1 2025/6/4
4.3.1.873 1 2025/6/4
4.3.0.858 1 2025/6/4
4.2.1.781 1 2025/6/6
4.2.0.706 2 2025/4/17
4.1.4.563 1 2025/6/4
4.1.3.436 1 2025/6/4
4.1.2.350 1 2025/6/4
4.1.1.318 1 2025/6/4
4.1.0.247 2 2025/5/28
4.0.2.221 1 2025/6/4
4.0.1.184 1 2025/6/4
4.0.0.167 1 2025/6/5
3.1.2 1 2025/6/4
3.1.1 2 2025/6/4
3.1.0 1 2025/6/6
3.0.16 1 2025/6/7
3.0.15 1 2025/6/8
3.0.15-rc2 1 2025/6/4
3.0.15-rc1 1 2025/6/4
3.0.14 1 2025/6/7
3.0.14-rc8 1 2025/6/5
3.0.14-rc7 1 2025/6/6
3.0.14-rc6 1 2025/6/6
3.0.14-rc5 1 2025/6/6
3.0.14-rc4 1 2025/6/4
3.0.14-rc3 1 2025/6/4
3.0.14-rc2 1 2025/6/4
3.0.14-rc1 1 2025/6/4
3.0.13 1 2025/6/8
3.0.13-rc2 1 2025/6/4
3.0.13-rc1 1 2025/6/4
3.0.12 1 2025/6/8
3.0.12-rc2 2 2025/6/4
3.0.12-rc1 1 2025/6/4
3.0.11 2 2025/6/7
3.0.10 1 2025/6/8
3.0.10-rc2 1 2025/6/4
3.0.10-rc1 1 2025/6/4
3.0.9 1 2025/6/7
3.0.9-rc2 1 2025/6/4
3.0.9-rc1 1 2025/6/5
3.0.8 1 2025/6/7
3.0.7 1 2025/6/7
3.0.7-rc2 1 2025/6/4
3.0.7-rc1 1 2025/6/5
3.0.6 1 2025/6/7
3.0.6-beta1 1 2025/6/4
3.0.6-alpha1 1 2025/6/4
3.0.5 1 2025/6/8
3.0.4 1 2025/6/6
3.0.3 1 2025/6/6
3.0.3-rc3 1 2025/6/4
3.0.3-rc2 1 2025/6/4
3.0.3-rc1 1 2025/6/4
3.0.2 1 2025/6/6
3.0.2-rc1 1 2025/6/4
3.0.1 1 2025/6/6
3.0.0 1 2025/6/8
3.0.0-rc3 1 2025/6/6
3.0.0-rc2 1 2025/6/5
3.0.0-rc1 2 2025/6/6
3.0.0-beta1 1 2025/6/4
3.0.0-alpha3 1 2025/6/5
3.0.0-alpha2 1 2025/6/4
3.0.0-alpha1 0 2018/12/22
2.8.5 1 2025/6/7
2.8.5-rc5 1 2025/6/6
2.8.5-rc4 1 2025/6/4
2.8.5-rc3 1 2025/6/5
2.8.5-rc2 1 2025/6/4
2.8.5-rc1 2 2025/5/29
2.8.4 1 2025/6/5
2.8.4-rc2 1 2025/6/4
2.8.4-rc1 1 2025/6/4
2.8.3 1 2025/6/6
2.8.2 1 2025/6/4
2.8.2-rc1 1 2025/6/4
2.8.1 1 2025/6/6
2.8.1-rc1 3 2025/5/26
2.8.0 1 2025/6/7
2.8.0-rc6 2 2025/6/6
2.8.0-rc5 1 2025/6/6
2.8.0-rc4 1 2025/6/4
2.8.0-rc3 1 2025/6/5
2.8.0-rc2 1 2025/6/4
2.8.0-rc1 1 2025/6/5
2.8.0-beta1 1 2025/6/4
2.8.0-alpha5 1 2025/6/4
2.8.0-alpha4 1 2025/6/4
2.8.0-alpha3 2 2025/5/25
2.8.0-alpha2 1 2025/6/4
2.8.0-alpha1 1 2025/6/4
2.7.5 1 2025/6/7
2.7.5-rc2 1 2025/6/5
2.7.5-rc1 1 2025/6/6
2.7.4 1 2025/6/5
2.7.3 2 2025/6/6
2.7.3-rc3 1 2025/6/5
2.7.3-rc2 1 2025/6/4
2.7.3-rc1 1 2025/6/4
2.7.2 1 2025/6/5
2.7.1 1 2025/6/6
2.7.1-rc1 2 2025/6/4
2.7.0 1 2025/6/7
2.7.0-rc1 1 2025/6/5
2.6.0 1 2025/6/8
2.6.0-rc2 1 2025/6/5
2.6.0-rc1 1 2025/6/6
2.5.3 1 2025/6/6
2.5.3-rc1 1 2025/6/4
2.5.2 1 2025/6/6
2.5.2-rc1 1 2025/6/4
2.5.1 1 2025/6/6
2.5.0 2 2025/6/8
2.4.0 1 2025/6/6
2.3.1 1 2025/6/4
2.3.0 2 2025/6/6
2.2.1 1 2025/6/4
2.2.0 1 2025/6/6
2.1.5.1 1 2025/6/7
2.1.5 1 2025/6/6
2.1.4 1 2025/6/4
2.1.3 2 2025/5/29
2.1.2 2 2025/6/4
2.1.1 1 2025/6/4