State Field
Collapse the table of content
Expand the table of content

HashAlgorithm.State Field

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

Represents the state of the hash computation.

Namespace:  System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft