Skip to main content

SpreadsheetDecryptionException.Error Property

Provides access to an object containing information about the error that occurs while attempting to decrypt a workbook.

Namespace: DevExpress.XtraSpreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public SpreadsheetDecryptionError Error { get; }

Property Value

Type Description
SpreadsheetDecryptionError

A SpreadsheetDecryptionError object containing information about an error.

Available values:

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.

See Also