This documentation is archived and is not being maintained.

HashAlgorithm.State Field

Represents the state of the hash computation.

[Visual Basic]
Protected State As Integer
protected int State;
protected: int State;
protected var State : int;


This field is used to prevent users from changing the key of a keyed hash algorithm during a hash operation. The value of this field is zero before and after a hash operation when a key change is legitimate, and nonzero otherwise.


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