|
NanoXLSX.Core 3.0.0-rc.3
|
Interface to represent a protection password, either for workbooks or worksheets. The implementations will define the password algorithms. More...
Public Member Functions | |
| void | SetPassword (string plainText) |
| Sets the plain text password. | |
| void | UnsetPassword () |
| Unsets a previously defined password. | |
| string | GetPassword () |
| Gets the password as plain text. | |
| bool | PasswordIsSet () |
| Gets whether a password was set or not. | |
| void | CopyFrom (IPassword passwordInstance) |
| Method to copy a password instance from another one. | |
Properties | |
| string | PasswordHash [get, set] |
| Gets or sets the password hash. | |
Interface to represent a protection password, either for workbooks or worksheets. The implementations will define the password algorithms.
Definition at line 13 of file IPassword.cs.
| void NanoXLSX.Interfaces.IPassword.CopyFrom | ( | IPassword | passwordInstance | ) |
Method to copy a password instance from another one.
| passwordInstance | Source instance |
Implemented in NanoXLSX.LegacyPassword.
| string NanoXLSX.Interfaces.IPassword.GetPassword | ( | ) |
Gets the password as plain text.
Implemented in NanoXLSX.LegacyPassword.
| bool NanoXLSX.Interfaces.IPassword.PasswordIsSet | ( | ) |
| void NanoXLSX.Interfaces.IPassword.SetPassword | ( | string | plainText | ) |
Sets the plain text password.
| plainText | Password in plain text |
Implemented in NanoXLSX.LegacyPassword.
| void NanoXLSX.Interfaces.IPassword.UnsetPassword | ( | ) |
Unsets a previously defined password.
Implemented in NanoXLSX.LegacyPassword.
|
getset |
Gets or sets the password hash.
Implemented in NanoXLSX.LegacyPassword.
Definition at line 18 of file IPassword.cs.