HashAlgorithmProvider.HashLength Property
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.
Gets the length, in bytes, of the hash.
public:
property unsigned int HashLength { unsigned int get(); };
uint32_t HashLength();
public uint HashLength { get; }
var uInt32 = hashAlgorithmProvider.hashLength;
Public ReadOnly Property HashLength As UInteger
Property Value
Number of bytes in the hash.
Remarks
You should verify that the length of the hashed data equals the hash length supported by the specified algorithm. For more information, see the following code example.