Gets or sets the password hash for protected sheet.
Namespace: GemBox.SpreadsheetAssembly: GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 37.3.30.1035
[ObsoleteAttribute("Use ExcelWorksheet.ProtectionSettings.PasswordHash instead. For more info, see http://www.gemboxsoftware.com/spreadsheet/help/html/Obsolete_Members.htm#ExcelWorksheetPasswordHash.")]
public int PasswordHash { get; set; }[ObsoleteAttribute("Use ExcelWorksheet.ProtectionSettings.PasswordHash instead. For more info, see http://www.gemboxsoftware.com/spreadsheet/help/html/Obsolete_Members.htm#ExcelWorksheetPasswordHash.")]
public int PasswordHash { get; set; }<ObsoleteAttribute("Use ExcelWorksheet.ProtectionSettings.PasswordHash instead. For more info, see http://www.gemboxsoftware.com/spreadsheet/help/html/Obsolete_Members.htm#ExcelWorksheetPasswordHash.")> _
Public Property PasswordHash As Integer
Get
Set<ObsoleteAttribute("Use ExcelWorksheet.ProtectionSettings.PasswordHash instead. For more info, see http://www.gemboxsoftware.com/spreadsheet/help/html/Obsolete_Members.htm#ExcelWorksheetPasswordHash.")> _
Public Property PasswordHash As Integer
Get
Set
This property is simply written to Excel file and has no effect on the behavior of this library.
For more information on worksheet protection, consult Microsoft Excel documentation.
This property needs to be set to value of type ushort (property is of type int because ushort is not cls compliant).
If you don't know which password hash corresponds to determinant password, make excel file using MS Excel, load it using GemBox.Spreadsheet, and read
this property. Then reuse that value in your project.