Page tree
    Created with Raphaël 2.1.0
    Loading...
Skip to end of metadata
Go to start of metadata

Description

Sets or returns the password hash that is used to protect the workbook.
C#
public int ProtectPasswordHash{ get; set; }
vb.net
Public Property ProtectPasswordHash() As Integer

Examples

C#
//--- Get the ProtectPasswordHash value for the workbook
int passwordHash = wb.ProtectPasswordHash;
 
//--- Set the ProtectPasswordHash value for the workbook
wb.ProtectPasswordHash = 12345
vb.net
'--- Get the ProtectPasswordHash value for the workbook
Dim passwordHash As Integer = wb.ProtectPasswordHash
 
'--- Set the ProtectPasswordHash value for the workbook
wb.ProtectPasswordHash = 12345
  • No labels