Interface to represent a protection password, either for workbooks or worksheets. The implementations...
void UnsetPassword()
Unsets a previously defined password.
void CopyFrom(IPassword passwordInstance)
Method to copy a password instance from another one.
string PasswordHash
Gets or sets the password hash.
void SetPassword(string plainText)
Sets the plain text password.
bool PasswordIsSet()
Gets whether a password was set or not.
string GetPassword()
Gets the password as plain text.