How to use Microsoft Azure DeviceClient with MQTT in .Net Framework 4.6.1
Dheeraj Awale
21
Reputation points
For a legacy WinForms application (.NET Frm. 4.6.1), I need to use Azure IOT device client to send events.
When trying to create an instance like below with MQTT type, It throws "Operation is not supported on this platform." error.
DeviceClient deviceClient = DeviceClient.CreateFromConnectionString(deviceConnectionString, TransportType.Mqtt, options);
If tried with HTTP then it throws: "Plug and Play is not supported over the HTTP transport."
Azure Internet of Things
Azure Internet of Things
A category of Azure services for internet of things devices.
424 questions
Developer technologies | .NET | Other
4,103 questions
Developer technologies | C#
11,571 questions
Sign in to answer