IterationCount Property
Collapse the table of content
Expand the table of content

PasswordDeriveBytes.IterationCount Property

 

Gets or sets the number of iterations for the operation.

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

member IterationCount : int with get, set

Property Value

Type: System.Int32

The number of iterations for the operation.

Exception Condition
CryptographicException

The number of iterations is fixed and an attempt is made to change this value.

ArgumentOutOfRangeException

The property cannot be set because its value is out of range. This property requires a non-negative number.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft