Hash Property
Collapse the table of content
Expand the table of content

HashAlgorithm.Hash Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

ExceptionCondition
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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft