HMACSHA512.VerifyAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| VerifyAsync(Byte[], Stream, Byte[], CancellationToken) | |
|
VerifyAsync(ReadOnlyMemory |
VerifyAsync(Byte[], Stream, Byte[], CancellationToken)
- Source:
- HMACSHA512.cs
public static System.Threading.Tasks.ValueTask VerifyAsync(byte[] key, System.IO.Stream source, byte[] hash, System.Threading.CancellationToken cancellationToken = default);
static member VerifyAsync : byte[] * System.IO.Stream * byte[] * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
Public Shared Function VerifyAsync (key As Byte(), source As Stream, hash As Byte(), Optional cancellationToken As CancellationToken = Nothing) As ValueTask(Of Boolean)
Parameters
- key
- Byte[]
- source
- Stream
- hash
- Byte[]
- cancellationToken
- CancellationToken
Returns
Applies to
VerifyAsync(ReadOnlyMemory, Stream, ReadOnlyMemory, CancellationToken)
- Source:
- HMACSHA512.cs
public static System.Threading.Tasks.ValueTask VerifyAsync(ReadOnlyMemory key, System.IO.Stream source, ReadOnlyMemory hash, System.Threading.CancellationToken cancellationToken = default);
static member VerifyAsync : ReadOnlyMemory * System.IO.Stream * ReadOnlyMemory * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
Public Shared Function VerifyAsync (key As ReadOnlyMemory(Of Byte), source As Stream, hash As ReadOnlyMemory(Of Byte), Optional cancellationToken As CancellationToken = Nothing) As ValueTask(Of Boolean)
Parameters
- key
- ReadOnlyMemory<Byte>
- source
- Stream
- hash
- ReadOnlyMemory<Byte>
- cancellationToken
- CancellationToken