Mentalis.org Security Library documentation

MD2CryptoServiceProvider.HashFinal Method 

Returns the computed MD2CryptoServiceProvider hash as an array of bytes after all data has been written to the object.

[Visual Basic]
Overrides Protected Function HashFinal() As Byte()
[C#]
protected override byte[] HashFinal();

Return Value

The computed hash value.

Exceptions

Exception TypeCondition
ObjectDisposedExceptionThe MD2CryptoServiceProvider instance has been disposed.
CryptographicExceptionThe data could not be hashed.

See Also

MD2CryptoServiceProvider Class | MD2CryptoServiceProvider Members | Org.Mentalis.Security.Cryptography Namespace