Export (0) Print
Expand All

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.

ExceptionCondition
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft