The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

SpreadsheetDecryptionError Enum

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

Namespace: DevExpress.XtraSpreadsheet

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

Declaration

public enum SpreadsheetDecryptionError
Public Enum SpreadsheetDecryptionError
public enum SpreadsheetDecryptionError
Public Enum SpreadsheetDecryptionError
public enum SpreadsheetDecryptionError
Public Enum SpreadsheetDecryptionError

Members

Name Description
EncryptionTypeNotSupported

Indicates that the encryption type is not supported. Only the RC4 algorithm for binary .xls files is implemented. Other encryption algorithms which create XOR obfuscated and RC4 CryptoAPI encrypted .xls binary files are not supported, so they throw this error.

IntegrityCheckFailed

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

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.

Remarks

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

See Also