.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

SpreadsheetProtectionOptions.SpinCount Property

Gets or sets the number of iterations for the hashing function to run when comparing a password with the hashed value.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.Spreadsheet.v19.2.Core.dll

Declaration

[DefaultValue(100000)]
public int SpinCount { get; set; }
<DefaultValue(100000)>
Public Property SpinCount As Integer
[DefaultValue(100000)]
public int SpinCount { get; set; }
<DefaultValue(100000)>
Public Property SpinCount As Integer
[DefaultValue(100000)]
public int SpinCount { get; set; }
<DefaultValue(100000)>
Public Property SpinCount As Integer

Property Value

Type Default Description
Int32

100000

An integer that is the number of iterations.

Property Value

Type Default Description
Int32

100000

An integer that is the number of iterations.

Property Value

Type Default Description
Int32

100000

An integer that is the number of iterations.

Remarks

The SpinCount property specifies the number of times the hashing function shall be iteratively run (using each iteration's result as the input for the next iteration) when attempting to compare a user supplied password with the hash data. That is, it specifies the number of iterations used to calculate the Strong Password Verifier; by default, 100 000. High SpinCount values strengthen protection but decrease performance.

The property is in effect only if the SpreadsheetProtectionOptions.UseStrongPasswordVerifier property is set to true.

See Also