The following sample project shows how to use a Word Processing File API to load and save password-encrypted files. The loaded file is decrypted using the EncryptionSettings
properties. When a user re-opens the file with a new password, the RichEditDocumentServer.EncryptedFilePasswordRequested and RichEditDocumentServer.EncryptedFilePasswordCheckFailed events occur. If the user cancels the operation or exceeds the number of attempts to enter the password, RichEditDocumentServer shows an exception message.
- Program.cs (VB: Program.vb)
(you will be redirected to DevExpress.com to submit your response)