.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

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

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. 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.

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.

See Also