MQTTnet 4.2.0.706

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.
14

* [Core] Added net7.0 builds (#1635, thanks to @YAJeff). * [Core] Added support for payload segments (#1585, thanks to @xljiulang) * [Client] Added support for passing MQTT v5 options (User properties etc.) for disconnects. * [Client] An internal exception is no longer caught silently when calling _DisconnectAsync_ to indicate that the disconnect is not clean (BREAKING CHANGE). * [Client] MQTTv5 features are now checked and an exception is thrown if they are used when using protocol version 3.1.1 and lower. These checks can be disabled in client options. (BREAKING CHANGE!). * [Client] Added support for disabling packet fragmentation (required for i.e. AWS, #1690, thanks to @logicaloud). * [Client] Added new overloads for options builder. * [Client] Renamed _InspectPackage_ to _InspectPacketAsync_ (BREAKING CHANGE). * [ManagedClient] Exposed added and removed topics in _ManagedProcessFailedEventArgs_ (#1678, thanks to @scottbrogden-iheartmedia). * [Server] Exposed MQTT v5 sent properties from the affected client in _ClientDisconnectedAsync_ event. * [Server] Fixed wrong client ID passed to _InterceptingUnsubscriptionEventArgs_ (#1631, thanks to @ghord). * [Server] Exposed socket settings for TCP keep alive in TCP options (#1544). * [Server] Exposed server session items at server level and allow custom session items for injected application messages (#1638). * [Server] Improved performance for retained message handling when subscribing using "DoNotSendOnSubscribe" or "SendAtSubscribeIfNewSubscriptionOnly" (#1661, thanks to @Int32Overflow). * [Server] Added support for changing the used TLS certificate while the server is running (#1652, thanks to @YAJeff). The certificate provider will now be invoked for every new connection! * [Server] Added a new API method which allows reading a single retained message without the need to processing the entire set of retained messages (#1659). * [Server] Added a new event (InterceptingClientEnqueueAsync) which allows intercepting when an application message is enqueued for a client (#1648). * [Server] Fixed race condition when handling connections which leads to stopped message transfers (#1677, thanks to @RazvanEmilR). * [Server] Fixed not delivered packets to other sessions if the _InterceptingClientEnqueueEvent_ is used and accepting the packet is denied (#1685, thanks to @RossHNPC). * [Server] Added missing user properties to subscribe and unsubscribe interceptor (#1702).

.NET Framework 4.5.2

  • No dependencies.

.NET Standard 2.1

  • No dependencies.

.NET 7.0

  • No dependencies.

.NET 6.0

  • No dependencies.

.NET 5.0

  • No dependencies.

.NET Core 3.1

  • No dependencies.

.NET Standard 2.0

  • No dependencies.

.NET Standard 1.3

.NET Framework 4.6.1

  • No dependencies.

UAP 10.0.10240

Version Downloads Last updated
4.2.0.706 21 6/7/2023