Click or drag to resize
WorksheetProtectionPasswordHash Property
Gets or sets the password hash for protected sheet.

Namespace: GemBox.Spreadsheet
Assembly: GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 39.3.30.1189
Syntax
public int PasswordHash { get; set; }

Property Value

Type: Int32
Remarks
This property needs to be set to value of type ushort (property is of type int because ushort is not CLS compliant). For setting password it can be also used SetPassword(String) method.
See Also