[]
Encapsulates the information required for spreadsheet document security and encryption.
public class DDSecurity
If a WritePassword or a Password is supplied the spreadsheet application will prompt for a write or open access password. If a WritePassword or a Password is not supplied no password will be requested to open the document. By correctly supplying the Password, the user will be able to open the document. By correctly supplying the WritePassword, the user will be able to write the document. If the read only recommended is set to true, the Excel application will prompt user whether to open document as read-only.
Name | Description |
---|---|
Password | Get or set the password that is required to open a spreadsheet document. |
ProtectedBy | Gets or sets the user name that is responsible for protecting the spreadsheet document with a password. |
ReadOnlyRecommended | Gets or sets the value that indicates whether the spreadsheet document has been saved in the recommended read-only mode. |
WritePassword | Gets or sets a password that prevents the spreadsheet document from being modified. |