Back to Devexpress

SpreadsheetDecryptionError Enum

officefileapi-devexpress-dot-xtraspreadsheet-b3b45a2d.md

latest2.2 KB
Original Source

SpreadsheetDecryptionError Enum

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

Namespace : DevExpress.XtraSpreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public enum SpreadsheetDecryptionError
vb
Public Enum SpreadsheetDecryptionError

Members

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

|

The following properties accept/return SpreadsheetDecryptionError values:

Remarks

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

See Also

DevExpress.XtraSpreadsheet Namespace