Created
January 24, 2021 13:07
-
-
Save fzankl/f3cf5af5340e2a4302f430e8948e3189 to your computer and use it in GitHub Desktop.
Accept or reject Azure IoT Hub device streams request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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