Share via


Rfc2898DeriveBytes.IterationCount Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the number of iterations for the operation.

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

Syntax

'Declaration
Public Property IterationCount As Integer
public int IterationCount { get; set; }

Property Value

Type: System.Int32
The number of iterations for the operation.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The number of iterations is less than 1.

Remarks

Iteration count is the number of times an operation is performed. For this property, the count should be greater than zero. The minimum recommended number of iterations is 1000.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.