WriteProtection
WriteProtection class
Specifies write protection settings for a workbook.
public class WriteProtection
Constructors
Properties
Name |
Description |
Author { get; set; } |
Gets and sets the author. |
IsWriteProtected { get; } |
Indicates whether this workbook is write protected. |
Password { set; } |
Sets the protected password to modify the file. |
RecommendReadOnly { get; set; } |
Indicates if the Read Only Recommended option is selected. |
Methods
Name |
Description |
ValidatePassword(string) |
Returns true if the specified password is the same as the write-protection password the file was protected with. |
See Also