Workbook.HasPassword Property

Definition

Gets a value that indicates whether the workbook has a protection password.

public bool HasPassword { get; }

Property Value

true if the workbook has a protection password; otherwise, false.

Applies to