HashAlgorithm.HashFinal Method ()


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

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

protected abstract byte[] HashFinal()

Return Value

Type: System.Byte[]

The computed hash code.

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

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft