I am trying to use Microsoft.Azure.Devices.Client for a legacy WinForms application (.NET 4.6.1), as I need to use Azure IOT device client to send events from a custom joystick connected to WinForms app.
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."
I am trying to use Microsoft.Azure.Devices.Client for a legacy WinForms application (.NET 4.6.1), as I need to use Azure IOT device client to send events from a custom joystick connected to WinForms app.
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."
Please help!
List of packages used: