Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichEditDecryptionException.Error Property

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

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v24.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

#Declaration

public RichEditDecryptionError Error { get; }

#Property Value

Type Description
RichEditDecryptionError

An RichEditDecryptionError object containing information about an error.

Available values:

Name Description
PasswordRequired

Indicates that the file is encrypted and you should set the RichEditDocumentImportOptions.EncryptionPassword or EncryptedFilePasswordRequestedEventArgs.Password property to a password string

WrongPassword

The password specified by the RichEditDocumentImportOptions.EncryptionPassword property is incorrect.

EncryptionTypeNotSupported

Indicates that the encryption type is not supported. For example, this error occurs when you open a DOC file that uses RC4 CryptoAPI encryption with third-party cryptographic service providers.

IntegrityCheckFailed

Indicates that the document did not pass the HMAC verification.

See Also