HashStreamCompareHashes Method |
Compares two hashes (arrays of bytes).
Namespace: Aliyun.OSS.Common.InternalAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.5.1.0 (2.5.1)
Syntaxprotected static bool CompareHashes(
byte[] expected,
byte[] actual
)
Protected Shared Function CompareHashes (
expected As Byte(),
actual As Byte()
) As Boolean
protected:
static bool CompareHashes(
array<unsigned char>^ expected,
array<unsigned char>^ actual
)
static member CompareHashes :
expected : byte[] *
actual : byte[] -> bool
Parameters
- expected
- Type: SystemByte
Expected hash. - actual
- Type: SystemByte
Actual hash.
Return Value
Type:
Boolean
True if the hashes are identical; otherwise false.
See Also