This is a MQTTnet wrapper. Usage example: Client = new MQTTClient(<settings>); Client.ClientConnected += (t, p) =>{ t.Subscribe<<your object>>(<topic>, (t, p) => { <code> }); }; The method handlig the NewMessage is a parameter of Subscribe.
NuGet Download
Install-Package NEL.MqttClient -Version 1.0.1.22
Login to resync this project