Table of Contents

Class ServerCredentials

Namespace
Ecng.ComponentModel
Assembly
Ecng.ComponentModel.dll

The class that contains a login and password.

public class ServerCredentials : NotifiableObject, INotifyPropertyChangedEx, INotifyPropertyChanged, INotifyPropertyChanging, IPersistable
Inheritance
ServerCredentials
Implements
Derived
Inherited Members
Extension Methods

Constructors

ServerCredentials()

Initializes a new instance of the ServerCredentials.

public ServerCredentials()

Properties

Email

Email.

public string Email { get; set; }

Property Value

string

Password

Password.

public SecureString Password { get; set; }

Property Value

SecureString

Token

Token.

public SecureString Token { get; set; }

Property Value

SecureString

Methods

Load(SettingsStorage)

Load settings.

public virtual void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

Save(SettingsStorage)

Save settings.

public virtual void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.