Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _device = DeviceClient.Create(_iotHubUri, new
- DeviceAuthenticationWithRegistrySymmetricKey(_deviceId, _deviceKey),
- TransportType.Amqp_Tcp_Only);
- await _device.OpenAsync();
- await _device.SendEventAsync(message);
Add Comment
Please, Sign In to add comment