## WriteProtection class Specifies write protection settings for a document. To learn more, visit the [Protect or Encrypt a Document](https://docs.aspose.com/words/net/protect-or-encrypt-a-document...... ```csharp public class WriteProtection...document with a password. ```csharp Document doc = new Document();...