PasswordDeriveBytes.IterationCount Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: