.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

SpreadsheetDecryptionError Enum

Lists possible errors which occur while attempting to load a password protected encrypted workbook.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.Spreadsheet.v21.2.Core.dll

Declaration

public enum SpreadsheetDecryptionError

Members

Name Description
PasswordRequired

Indicates that an .xls binary file is encrypted and you should set the XlsDocumentImporterOptions.Password property to a password string.

WrongPassword

The password specified by the XlsDocumentImporterOptions.Password property is incorrect.

EncryptionTypeNotSupported

Indicates that the encryption type is not supported. For example, this error occurs when you open an XLS file that uses RC4 CryptoAPI encryption with third-party cryptographic service providers.

IntegrityCheckFailed

Indicates that the document being loaded did not pass the HMAC verification.

Remarks

The SpreadsheetDecryptionError enumeration is used to specify the error type for the SpreadsheetDecryptionException.Error property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the SpreadsheetDecryptionError enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also