Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PasswordDeriveBytes::IterationCount Property

 

Gets or sets the number of iterations for the operation.

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

public:
property int IterationCount {
	int get();
	void set(int value);
}

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:
© 2017 Microsoft