C# Class KeePass.Storage.DatabaseInfo

Afficher le fichier Open project: gkardava/WinPass Class Usage Examples

Private Properties

Свойство Type Description
ClearPassword void
GetKeyFile byte[]
GetSavedPassword KeePass.IO.Data.DbPersistentData
GetSavedPassword KeePass.IO.Data.DbPersistentData
LoadDetails void
Open void
Save void
SaveDetails void
SaveDetails void
UpdateSavedPassword void
Upgrade void

Méthodes publiques

Méthode Description
ClearPassword ( ) : void

Clears the saved password.

DatabaseInfo ( ) : System
DatabaseInfo ( string folder ) : System
Delete ( ) : void

Deletes this database.

Equals ( object obj ) : bool
GetAll ( ) : IList

Gets all databases.

GetHashCode ( ) : int
IsValid ( IsolatedStorageFile store ) : bool

Determines whether the this database has stored data.

LoadDetails ( ) : void

Loads the Details data.

Open ( Dispatcher dispatcher, string password, bool savePassword ) : OpenDbResults

Opens the database using the specified password.

Open ( Dispatcher dispatcher ) : void

Opens the database using saved password dispatcher.

OpenDatabaseFile ( Action action ) : void

Opens the database file.

SaveDetails ( ) : void

Saves the Details information.

SetDatabase ( Action action ) : void
SetDatabase ( Stream data, KeePass.Storage.DatabaseDetails details ) : void

Sets the database.

SetKeyFile ( byte keyFile ) : void

Sets the key file.

Méthodes protégées

Méthode Description
Equals ( DatabaseInfo other ) : bool

Private Methods

Méthode Description
ClearPassword ( IsolatedStorageFile store ) : void
GetKeyFile ( IsolatedStorageFile store ) : byte[]
GetSavedPassword ( IsolatedStorageFile store ) : KeePass.IO.Data.DbPersistentData

Gets the saved password.

GetSavedPassword ( IsolatedStorageFile store, string protectPath, string parsedXmlPath, string masterPassPath ) : KeePass.IO.Data.DbPersistentData

Gets the saved password.

LoadDetails ( IsolatedStorageFile store ) : void
Open ( IsolatedStorageFile store, KeePass.IO.Data.DbPersistentData xml, Dispatcher dispatcher ) : void
Save ( IsolatedStorageFile store, KeePass.IO.Data.DbPersistentData xml ) : void

Saves user password.

SaveDetails ( IsolatedStorageFile store ) : void
SaveDetails ( IsolatedStorageFileStream fs ) : void
UpdateSavedPassword ( IsolatedStorageFile store ) : void
Upgrade ( IsolatedStorageFile store ) : void

Method Details

ClearPassword() public méthode

Clears the saved password.
public ClearPassword ( ) : void
Résultat void

DatabaseInfo() public méthode

public DatabaseInfo ( ) : System
Résultat System

DatabaseInfo() public méthode

public DatabaseInfo ( string folder ) : System
folder string
Résultat System

Delete() public méthode

Deletes this database.
public Delete ( ) : void
Résultat void

Equals() protected méthode

protected Equals ( DatabaseInfo other ) : bool
other DatabaseInfo
Résultat bool

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetAll() public static méthode

Gets all databases.
public static GetAll ( ) : IList
Résultat IList

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

IsValid() public méthode

Determines whether the this database has stored data.
public IsValid ( IsolatedStorageFile store ) : bool
store System.IO.IsolatedStorage.IsolatedStorageFile The store.
Résultat bool

LoadDetails() public méthode

Loads the Details data.
public LoadDetails ( ) : void
Résultat void

Open() public méthode

Opens the database using the specified password.
public Open ( Dispatcher dispatcher, string password, bool savePassword ) : OpenDbResults
dispatcher System.Windows.Threading.Dispatcher The dispatcher.
password string The password.
savePassword bool set to true to save user password.
Résultat OpenDbResults

Open() public méthode

Opens the database using saved password dispatcher.
public Open ( Dispatcher dispatcher ) : void
dispatcher System.Windows.Threading.Dispatcher The dispatcher.
Résultat void

OpenDatabaseFile() public méthode

Opens the database file.
public OpenDatabaseFile ( Action action ) : void
action Action The action.
Résultat void

SaveDetails() public méthode

Saves the Details information.
public SaveDetails ( ) : void
Résultat void

SetDatabase() public méthode

public SetDatabase ( Action action ) : void
action Action
Résultat void

SetDatabase() public méthode

Sets the database.
public SetDatabase ( Stream data, KeePass.Storage.DatabaseDetails details ) : void
data Stream The data.
details KeePass.Storage.DatabaseDetails The details.
Résultat void

SetKeyFile() public méthode

Sets the key file.
public SetKeyFile ( byte keyFile ) : void
keyFile byte The key file.
Résultat void