C# 클래스 KeePass.Storage.DatabaseInfo

파일 보기 프로젝트 열기: gkardava/WinPass 1 사용 예제들

Private Properties

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
Equals ( DatabaseInfo other ) : bool

비공개 메소드들

메소드 설명
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

메소드 상세

ClearPassword() 공개 메소드

Clears the saved password.
public ClearPassword ( ) : void
리턴 void

DatabaseInfo() 공개 메소드

public DatabaseInfo ( ) : System
리턴 System

DatabaseInfo() 공개 메소드

public DatabaseInfo ( string folder ) : System
folder string
리턴 System

Delete() 공개 메소드

Deletes this database.
public Delete ( ) : void
리턴 void

Equals() 보호된 메소드

protected Equals ( DatabaseInfo other ) : bool
other DatabaseInfo
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetAll() 공개 정적인 메소드

Gets all databases.
public static GetAll ( ) : IList
리턴 IList

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

IsValid() 공개 메소드

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

LoadDetails() 공개 메소드

Loads the Details data.
public LoadDetails ( ) : void
리턴 void

Open() 공개 메소드

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.
리턴 OpenDbResults

Open() 공개 메소드

Opens the database using saved password dispatcher.
public Open ( Dispatcher dispatcher ) : void
dispatcher System.Windows.Threading.Dispatcher The dispatcher.
리턴 void

OpenDatabaseFile() 공개 메소드

Opens the database file.
public OpenDatabaseFile ( Action action ) : void
action Action The action.
리턴 void

SaveDetails() 공개 메소드

Saves the Details information.
public SaveDetails ( ) : void
리턴 void

SetDatabase() 공개 메소드

public SetDatabase ( Action action ) : void
action Action
리턴 void

SetDatabase() 공개 메소드

Sets the database.
public SetDatabase ( Stream data, KeePass.Storage.DatabaseDetails details ) : void
data Stream The data.
details KeePass.Storage.DatabaseDetails The details.
리턴 void

SetKeyFile() 공개 메소드

Sets the key file.
public SetKeyFile ( byte keyFile ) : void
keyFile byte The key file.
리턴 void