Skip to main content
A newer version of this page is available. .
Row

EncryptedFilePasswordCheckFailedEventArgs.Error Property

Obtains the password error.

Namespace: DevExpress.Spreadsheet

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

Declaration

public SpreadsheetDecryptionError Error { get; }

Property Value

Type Description
SpreadsheetDecryptionError

One of the SpreadsheetDecryptionError enumeration values indicating the error type.

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

See Also