Property | Type | Description | |
---|---|---|---|
StorageFile | string | ||
StoragePassword | string |
Method | Description | |
---|---|---|
DeleteKey ( string key ) : bool |
Deletes the key and corresponding value from the storage
|
|
GetValue ( string key, string defaultValue ) : string |
Retrieves the value from storage. If value with the given key does not exist, returns default value
|
|
HasKey ( string key ) : bool |
Determines whether specified key exists in the storage
|
|
SecureStorageImplementation ( ) : Plugin.SecureStorage.Abstractions |
Default constructor created or loads the store
|
|
SetValue ( string key, string value ) : bool |
Sets the value for the given key. If value exists, overwrites it Else creates new entry. Does not accept null value.
|
Method | Description | |
---|---|---|
LoadData ( ) : byte[] |
Loads the dictionary from storge
|
|
LoadDataAsync ( ) : Task |
Implementation of Load from storage for Windows Store.
|
|
SaveData ( byte clearBytes ) : void |
method to encrypt and save dictionary to storage
|
Method | Description | |
---|---|---|
AddRecord ( string key, string val ) : SecStatusCode |
Adds the record of type GenericPassword
|
|
GetRecord ( string key, SecStatusCode &ssc ) : SecRecord |
Retreives record from the store
|
|
GetSecretKeyEntry ( string key ) : KeyStore.SecretKeyEntry | ||
RemoveRecord ( string key ) : SecStatusCode |
Removes the record.
|
|
Save ( ) : void | ||
SaveDataAsync ( byte clearBytes ) : Task |
Implementation of Save to storage for Windows Store, WP8.1 and UWP
|
public GetValue ( string key, string defaultValue ) : string | ||
key | string | Key. |
defaultValue | string | Default value. |
return | string |
protected SaveData ( byte clearBytes ) : void | ||
clearBytes | byte | |
return | void |
public SecureStorageImplementation ( ) : Plugin.SecureStorage.Abstractions | ||
return | Plugin.SecureStorage.Abstractions |
public SetValue ( string key, string value ) : bool | ||
key | string | Key. |
value | string | Value. |
return | bool |