[]
Gets or sets the password for the xlsx file.
Use this property to configure the password before opening a password-protected xlsx file.
public string Password { get; set; }
Public Property Password As String
string configuredPassword = GetWorkbookPassword();
XlsxOpenOptions options = new XlsxOpenOptions();
options.Password = configuredPassword;
string password = options.Password;
workbook.Open("path/to/workbook.xlsx", options);