Click here to Skip to main content
15,064,072 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Please help! Is there any MQTT library (not MQTTDotNet - it doesnt work) for VB.Net or C#.Net ?

What I have tried:

MQTTDotNet doesn't work. I tried to use it with mqtt cloud server and custom server, every time i had an exeption with connection error to server as mqtt:\\. With tcp:\\ program always do nothing. There was not on_connect handler.
Posted
Updated 4-May-20 20:55pm

Haven't use any of the libraries so I cannot vouch for it; but this is 2 clicks away from Google results for MQTT library C#
M2Mqtt & GnatMQ | MQTT Client Library & Broker for .Net platform[^]
   
I have written an example code vb.net with all the basic features MQTT Client
using M2Mqtt library

MQTTBasic[^]

Hope it is useful to everyone
   
v2
Comments
CHill60 5-May-20 6:30am
   
Answering old posts with a link to your own work is often considered "site driving" which can lead to your account being suspended. Why not publish this on Code Project as a "Project" - see Your GitHub Project on CodeProject[^]
Bessem Bousselmi 7-May-20 4:49am
   
Thanks for the advice .. it has already been done

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900