.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

RichEditDecryptionError Enum

Lists possible errors which occur while attempting to load a password-encrypted document.

Namespace: DevExpress.XtraRichEdit

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


public enum RichEditDecryptionError


Name Description

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


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


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.


Indicates that the document did not pass the HMAC verification.


The EncryptedFilePasswordCheckFailedEventArgs.Error and RichEditDecryptionException.Error properties use the RichEditDecryptionError enumeration to specify the error type.

The following code snippets (auto-collected from DevExpress Examples) contain references to the RichEditDecryptionError enum.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also