HMACMD5.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<Byte>, Stream, ReadOnlyMemory<Byte>, CancellationToken) |
VerifyAsync(Byte[], Stream, Byte[], CancellationToken)
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Threading.Tasks.ValueTask<bool> VerifyAsync(byte[] key, System.IO.Stream source, byte[] hash, System.Threading.CancellationToken cancellationToken = default);
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member VerifyAsync : byte[] * System.IO.Stream * byte[] * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<bool>
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
- Attributes
Applies to
VerifyAsync(ReadOnlyMemory<Byte>, Stream, ReadOnlyMemory<Byte>, CancellationToken)
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Threading.Tasks.ValueTask<bool> VerifyAsync(ReadOnlyMemory<byte> key, System.IO.Stream source, ReadOnlyMemory<byte> hash, System.Threading.CancellationToken cancellationToken = default);
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member VerifyAsync : ReadOnlyMemory<byte> * System.IO.Stream * ReadOnlyMemory<byte> * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<bool>
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
Returns
- Attributes