WorkbookProtection Class

Represents workbook-level protection settings matching the XLSX workbookProtection element.

Inheritance

Object

Documents.Spreadsheet.WorkbookProtection

Namespace: Radzen.Documents.Spreadsheet

Assembly: Radzen.Blazor.dll

Syntax

public class WorkbookProtection

Constructors

WorkbookProtectionlink

Represents workbook-level protection settings matching the XLSX workbookProtection element.

Declaration
public WorkbookProtection()

Properties

AlgorithmNamelink

Gets or sets the hash algorithm name (e.g. "SHA-512").

Declaration
public string AlgorithmName { get; set; }
Property Value
Type Description
stringGets or sets the hash algorithm name (e.g. "SHA-512").

HashValuelink

Gets or sets the base64-encoded password hash value.

Declaration
public string HashValue { get; set; }
Property Value
Type Description
stringGets or sets the base64-encoded password hash value.

LockStructurelink

Gets or sets whether the workbook structure is locked (prevents adding, deleting, renaming, or reordering sheets).

Declaration
public bool LockStructure { get; set; }
Property Value
Type Description
boolGets or sets whether the workbook structure is locked (prevents adding, deleting, renaming, or reordering sheets).

PasswordHashlink

Gets or sets the legacy 16-bit password hash (4 hex characters).

Declaration
public string PasswordHash { get; set; }
Property Value
Type Description
stringGets or sets the legacy 16-bit password hash (4 hex characters).

SaltValuelink

Gets or sets the base64-encoded salt value.

Declaration
public string SaltValue { get; set; }
Property Value
Type Description
stringGets or sets the base64-encoded salt value.

SpinCountlink

Gets or sets the number of hash iterations.

Declaration
public int? SpinCount { get; set; }
Property Value
Type Description
int?Gets or sets the number of hash iterations.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙