Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

SpreadsheetDecryptionError Enum

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

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll


public enum SpreadsheetDecryptionError


Name Description

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


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


Indicates that the encryption type is not supported. Only the RC4 encryption algorithm is implemented for binary files (XLS). Other encryption methods (XOR obfuscation and RC4 CryptoAPI) are not supported for XLS files.


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


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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SpreadsheetDecryptionError enum.


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