NanoXLSX.Core 3.0.0-rc.5
Loading...
Searching...
No Matches
NanoXLSX.Interfaces.Writer.IPasswordWriter Interface Reference

Interface, used by specific writers that provides password handling. More...

Inheritance diagram for NanoXLSX.Interfaces.Writer.IPasswordWriter:

Public Member Functions

void Init (PasswordType type, string passwordHash)
 Method to initialize the password writer.
IEnumerable< XmlAttributeGetAttributes ()
 Gets an IEnumerable of XML attributes.
Public Member Functions inherited from NanoXLSX.Interfaces.IPassword
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

PasswordType Type [get]
 Gets the target type of the password.
Properties inherited from NanoXLSX.Interfaces.IPassword
string PasswordHash [get, set]
 Gets or sets the password hash.

Detailed Description

Interface, used by specific writers that provides password handling.

Definition at line 18 of file IPasswordWriter.cs.

Member Function Documentation

◆ GetAttributes()

IEnumerable< XmlAttribute > NanoXLSX.Interfaces.Writer.IPasswordWriter.GetAttributes ( )

Gets an IEnumerable of XML attributes.

Returns

◆ Init()

void NanoXLSX.Interfaces.Writer.IPasswordWriter.Init ( PasswordType type,
string passwordHash )

Method to initialize the password writer.

Parameters
typeTarget type of the password writer
passwordHashHash that will be written

Property Documentation

◆ Type

PasswordType NanoXLSX.Interfaces.Writer.IPasswordWriter.Type
get

Gets the target type of the password.

Definition at line 24 of file IPasswordWriter.cs.


The documentation for this interface was generated from the following file: