Sets or returns the password hash that is used to protect the workbook.
public int ProtectPasswordHash{ get; set; }
Public Property ProtectPasswordHash() As Integer
//--- Get the ProtectPasswordHash value for the workbook
int passwordHash = wb.ProtectPasswordHash;
//--- Set the ProtectPasswordHash value for the workbook
wb.ProtectPasswordHash = 12345
'--- Get the ProtectPasswordHash value for the workbook
Dim passwordHash As Integer = wb.ProtectPasswordHash
'--- Set the ProtectPasswordHash value for the workbook
wb.ProtectPasswordHash = 12345