Export (0) Print
Expand All

HashAlgorithm.Hash Property

Gets the value of the computed hash code.

[Visual Basic]
Public Overridable ReadOnly Property Hash As Byte ()
[C#]
public virtual byte[] Hash {get;}
[C++]
public: __property virtual unsigned char get_Hash();
[JScript]
public function get Hash() : Byte[];

Property Value

The current value of the computed hash code.

Exceptions

Exception Type Condition
CryptographicUnexpectedOperationException HashValue is a null reference (Nothing in Visual Basic).

Remarks

Hash is a byte array; HashSize is in bits. Therefore, the number of elements in Hash is one-eighth HashSize.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

HashAlgorithm Class | HashAlgorithm Members | System.Security.Cryptography Namespace | Cryptographic Services

Show:
© 2015 Microsoft