Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{description}
{excerpt}Sets or returns the password hash that is used to protect the workbook.{excerpt}
{signature:C#}
 public int ProtectPasswordHash{ get; set; }
{signature}{signature:vb.net}
Public Property ProtectPasswordHash() As Integer
{signature}
{example}{code:csharp|title=C#}

          //--- Get the ProtectPasswordHash value for the workbook
          int passwordHash = wb.ProtectPasswordHash;

          //--- Set the ProtectPasswordHash value for the workbook
          wb.ProtectPasswordHash = 12345
        {code}
{code:vb.net|title=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
        {code}

{example}