IncrementalHash.GetHashAndReset Method

Definition

Retrieves the hash or Hash-based Message Authentication Code (HMAC) for the data accumulated from prior calls to the AppendData(Byte[]) method, and resets the object to its initial state.

public:
 cli::array <System::Byte> ^ GetHashAndReset();
public byte[] GetHashAndReset ();
member this.GetHashAndReset : unit -> byte[]
Public Function GetHashAndReset () As Byte()

Returns

Byte[]

The computed hash or HMAC.

Exceptions

The IncrementalHash object has already been disposed.

Applies to