M2Mqtt 3.1.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.1.0
NuGet\Install-Package M2Mqtt -Version 3.1.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.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add M2Mqtt --version 3.1.0
#r "nuget: M2Mqtt, 3.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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.1.0

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

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

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

This package has no dependencies.

NuGet packages (17)

Showing the top 5 NuGet packages that depend on M2Mqtt:

Package Downloads

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


microgear-csharp is a client library for C# The library is used to connect application code or hardware with the NETPIE Platform's service for developing IoT applications. For more details on the NETPIE Platform, please visit https://netpie.io

GitHub repositories (3)

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

Repository Stars
.NET code samples used on https://cloud.google.com
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 433,312 12/6/2015 44,809 8/19/2015
4.2.0 3,382 8/14/2015 4,537 7/11/2015
4.1.0 57,541 3/28/2015
4.0.0 12,819 12/23/2014
3.6.0 8,630 9/3/2014
3.5.0 3,151 7/18/2014
3.4.0 2,281 6/23/2014
3.3.0 2,509 4/19/2014
3.2.0 2,055 3/28/2014
3.1.0 2,236 3/27/2014
3.0.0 2,702 2/25/2014
2.4.0 2,458 12/17/2013
2.3.0 1,996 11/8/2013
2.2.0 1,969 10/30/2013
2.1.0 1,912 10/12/2013
2.0.0 2,293 10/5/2013
1.1.0 3,729 8/25/2013

1. Uniformed all classes to the GnatMQ broker (https://mqttbroker.codeplex.com/) to have same core;
2. MqttClient : exposed all main client properties after connection (clientId, clean session, will flag, will topic, will QoS and will message);
3. MqttMsgPublishEventArgs : added DupFlag property;
4. MqttCommunicationException : Added constructor for inner exception;
5. Improved QoS Level 2 management in MqttClient;
6. Added QueueExtension to get an element by predicate;
7. Released new version;