We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

What is password?

I protect the document using doc.Protect method(ProtectionType.ReadOnly). However when I unprotect the doc using MS Word, it asks for password. What is default password? I am using evaluation version of Aspose.


Thanks for your request. When you protect a document, and the document does not have a protection password, this method assigns a random password that makes it impossible to unprotect the document in Microsoft Word. See the following link for more information.

You should use Protect(ProtectionType Type, String Password) method to protect document with password. See the following string for more information.

Best regards.