[]
Provides access to the workbook write protection options.
public class WriteProtection
Public Class WriteProtection
Name | Description |
---|---|
ReadOnlyRecommended | Indicates if the Read Only Recommended option is selected. |
WritePassword | Sets the protected password to modify the file. |
WriteReserved | Indicates whether this workbook is write protected. |
WriteReservedBy | Gets and sets the name of the user who currently has write permission for the workbook. |
Name | Description |
---|---|
ValidatePassword(string) | Returns true if the specified password is the same as the write-protection password the file was protected with. |