HashAlgorithm.Hash Property

 

Gets the value of the computed hash code.

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

public virtual byte[] Hash { get; }

Property Value

Type: System.Byte[]

The current value of the computed hash code.

Exception Condition
CryptographicUnexpectedOperationException

HashValue is null.

ObjectDisposedException

The object has already been disposed.

The Hash property is a byte array; the HashSize property is a value that represent bits. Therefore, the number of elements in Hash is one-eighth the size of HashSize.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: