Represents workbook-level protection settings matching the XLSX workbookProtection element.
Object
Namespace: Radzen.Documents.Spreadsheet
Assembly: Radzen.Blazor.dll
public class WorkbookProtectionRepresents workbook-level protection settings matching the XLSX workbookProtection element.
public WorkbookProtection()Gets or sets the hash algorithm name (e.g. "SHA-512").
public string AlgorithmName { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the hash algorithm name (e.g. "SHA-512"). |
Gets or sets the base64-encoded password hash value.
public string HashValue { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the base64-encoded password hash value. |
Gets or sets whether the workbook structure is locked (prevents adding, deleting, renaming, or reordering sheets).
public bool LockStructure { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets whether the workbook structure is locked (prevents adding, deleting, renaming, or reordering sheets). |
Gets or sets the legacy 16-bit password hash (4 hex characters).
public string PasswordHash { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the legacy 16-bit password hash (4 hex characters). |
Gets or sets the base64-encoded salt value.
public string SaltValue { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the base64-encoded salt value. |
Gets or sets the number of hash iterations.
public int? SpinCount { get; set; }
| Type | Description |
|---|---|
| int? | Gets or sets the number of hash iterations. |