The following sample project shows how to use the WinForms Rich Text Editor to load and save password-encrypted files. You can specify a password and an encryption type on the left pane and export the result to DOCX or DOC format. When a user re-opens the file with a new password, the RichEditControl.EncryptedFilePasswordRequested and RichEditControl.EncryptedFilePasswordCheckFailed events occur. If the user cancels the operation or exceeds the number of attempts to enter the password, RichEditControl shows an exception message.
(you will be redirected to DevExpress.com to submit your response)