API Reference

Class

LegacyXlsWorkbookProtection

Namespace OfficeIMO.Excel.LegacyXls.Model
Assembly OfficeIMO.Excel
Modifiers sealed

Represents workbook protection metadata parsed from the legacy XLS globals substream.

Inheritance

  • Object
  • LegacyXlsWorkbookProtection

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Constructors

public LegacyXlsWorkbookProtection(Boolean isProtected, String legacyPasswordHash = null) #

Creates workbook protection metadata.

Parameters

isProtected System.Boolean requiredposition: 0
Whether workbook protection is enabled.
legacyPasswordHash System.String = null optionalposition: 1
Optional 16-bit legacy password verifier formatted as four uppercase hexadecimal digits.

Properties

public Boolean IsProtected { get; } #

Gets whether workbook protection is enabled.

public String LegacyPasswordHash { get; } #

Gets the optional legacy workbook protection password verifier.