HashAlgorithm.HashFinal Method

Definition

When overridden in a derived class, finalizes the hash computation after the last data is processed by the cryptographic hash algorithm.

protected:
 abstract cli::array <System::Byte> ^ HashFinal();
protected abstract byte[] HashFinal ();
abstract member HashFinal : unit -> byte[]
Protected MustOverride Function HashFinal () As Byte()

Returns

Byte[]

The computed hash code.

Remarks

This method finalizes any partial computation and returns the correct hash value for the data.

Applies to