Share via


PasswordHasherOptions.IterationCount Property

Definition

Gets or sets the number of iterations used when hashing passwords using PBKDF2. Default is 100,000.

public:
 property int IterationCount { int get(); void set(int value); };
public int IterationCount { get; set; }
member this.IterationCount : int with get, set
Public Property IterationCount As Integer

Property Value

The number of iterations used when hashing passwords using PBKDF2.

Remarks

This value is only used when the compatibility mode is set to 'V3'. The value must be a positive integer.

Applies to