State Field

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents the state of the hash computation.

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

protected:
int State

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

Show: