Configure an application as an MQTT client
Message Queue Telemetry Transport (MQTT) is a standard ISO protocol based on a message broker, which is responsible for distributing messages to recipient clients.

Prerequisites
-
Add the NuGet Gallery | MqttNet third-party library.
To develop the project
Select Run to run the project using the client emulator to test your project. To run the project on a remote client, see Add a client device.