WriteProtection Methods

The WriteProtection type exposes the following members.

Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodCode exampleSetPassword
Sets the write protection password for the document.
Public methodToString (Inherited from Object.)
Public methodCode exampleValidatePassword
Returns true if the specified password is the same as the write-protection password the document was protected with. If document is not write-protected with password then returns false.
See Also