M2Mqtt 3.0.0

.NET Framework 4.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package M2Mqtt --version 3.0.0
NuGet\Install-Package M2Mqtt -Version 3.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="M2Mqtt" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add M2Mqtt --version 3.0.0
#r "nuget: M2Mqtt, 3.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install M2Mqtt as a Cake Addin
#addin nuget:?package=M2Mqtt&version=3.0.0

// Install M2Mqtt as a Cake Tool
#tool nuget:?package=M2Mqtt&version=3.0.0

M2Mqtt is a MQTT client available for all .Net platform (.Net Framework, .Net Compact Framework and .Net Micro Framework) for M2M communication.

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
.NET Micro Framework netmf42 is compatible.  netmf43 is compatible. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (21)

Showing the top 5 NuGet packages that depend on M2Mqtt:

Package Downloads

This package installs the library files required to create an instance of cp within an application.


A C# client library for connecting to the AllThingsTalk cloud


Package Description


Package Description


C# Library to simplify interactions with the IBM Watson IoT Platform

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on M2Mqtt:

Repository Stars
TeslaLogger is a self hosted data logger for your Tesla Model S/3/X/Y. Actually it supports RaspberryPi 3B, 3B+, 4B, Docker and Synology NAS.
Make your windows 10 computer IOT friendly
Version Downloads Last updated
4.3.0 541,728 12/6/2015 49,987 8/19/2015
4.2.0 4,035 8/14/2015 5,425 7/11/2015
4.1.0 76,694 3/28/2015
4.0.0 14,504 12/23/2014
3.6.0 10,205 9/3/2014
3.5.0 3,642 7/18/2014
3.4.0 2,757 6/23/2014
3.3.0 2,994 4/19/2014
3.2.0 2,536 3/28/2014
3.1.0 2,746 3/27/2014
3.0.0 3,285 2/25/2014
2.4.0 2,963 12/17/2013
2.3.0 2,471 11/8/2013
2.2.0 2,439 10/30/2013
2.1.0 2,347 10/12/2013
2.0.0 2,873 10/5/2013
1.1.0 4,312 8/25/2013

Added "inflight queue" for messages and asynchronous operations (publish, subscribe, unsubscribe)

1. Added MqttMsgContext class with the flow context of a message inside "inflight queue";
2. Added MqttSettings to store default client settings;
3. Modified MqttClient :
3.1 added "inflight queue", internal queue and receive queue (for raise event to the application layer);
3.2 modified Subscribe() method to be asynchronous and now returns message id (not granted QoS);
3.3 modified Unsubscribe() method to be asynchronous;
3.4 modified Publish() method to be asynchronous;
3.5 added ReceiveEventThread() to raise event;
3.6 added ProcessInflightThread() to process "inflight queue";
4. Released new version;