Skip to content

Instantly share code, notes, and snippets.

@fzankl
Created January 24, 2021 13:07
Show Gist options
  • Save fzankl/f3cf5af5340e2a4302f430e8948e3189 to your computer and use it in GitHub Desktop.
Save fzankl/f3cf5af5340e2a4302f430e8948e3189 to your computer and use it in GitHub Desktop.
Accept or reject Azure IoT Hub device streams request
await deviceClient.AcceptDeviceStreamRequestAsync(
streamRequest,
cancellationTokenSource.Token).ConfigureAwait(false);
await deviceClient.RejectDeviceStreamRequestAsync(
streamRequest,
cancellationTokenSource.Token).ConfigureAwait(false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment