The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
All docs
V19.1
19.2 (EAP/Beta)
19.1
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

RichEditDocumentServer.EncryptedFileIntegrityCheckFailed Event

Raises when the encrypted file did not pass the data integrity verification.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v19.1.Core.dll

Declaration

public event EncryptedFileIntegrityCheckFailedEventHandler EncryptedFileIntegrityCheckFailed
Public Event EncryptedFileIntegrityCheckFailed As EncryptedFileIntegrityCheckFailedEventHandler
public event EncryptedFileIntegrityCheckFailedEventHandler EncryptedFileIntegrityCheckFailed
Public Event EncryptedFileIntegrityCheckFailed As EncryptedFileIntegrityCheckFailedEventHandler

Event Data

The EncryptedFileIntegrityCheckFailed event handler receives an argument of the EncryptedFileIntegrityCheckFailedEventArgs type. The following properties provide information specific to this event.

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled.
(Inherited from CancelEventArgs)

Remarks

RichEditDocumentServer uses the Hash-based message authentication code (HMAC) to verify the document data integrity. If the document did not pass the code verification, the EncryptedFileIntegrityCheckFailed event is raised.

Note

The HMAC is calculated only for certain encryption types. When you save a password encrypted workbook, set the EncryptionOptions.Type to the EncryptionType.Strong to calculate HMAC.

See Also