使用 DeviceClient 时,我可以使用 SendEvent 发送消息,使用 SendBlob 发送文件。但是我没有找到一种方法来接收 Azure IoT Hub 已收到消息/文件的确认?
我发现解决这个问题的唯一方法是使用 serviceClient.GetFileNotificationReceiver()。我错过了什么还是这是唯一的方法?
此外,似乎我需要 SharedAccessKeyName 才能使用 ServiceClient。但这并不存在于例如由 DeviceExplorer(我用于 DeviceClient)创建的令牌中。任何建议表示赞赏。