HashAlgorithm.State Field

 

Represents the state of the hash computation.

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

val mutable State : int

Field Value

Type: System.Int32

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.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: