Guest User

Untitled

a guest
Sep 24th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. _device = DeviceClient.Create(_iotHubUri, new
  2. DeviceAuthenticationWithRegistrySymmetricKey(_deviceId, _deviceKey),
  3. TransportType.Amqp_Tcp_Only);
  4.  
  5. await _device.OpenAsync();
  6.  
  7. await _device.SendEventAsync(message);
Add Comment
Please, Sign In to add comment