## 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......Encrypt a Document](https://docs.aspose.com/words/net/protec...password. ```csharp Document doc = new Document(); DocumentBuilder...