I have tried to receive cloud to device message through IOT Hub using the steps mentioned in the link below: https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-csharp-cs