Skip to content

Using PCLStorage library for data storage on mobile devices using xamarin.

License

Notifications You must be signed in to change notification settings

dsappet/StoragePcl

Repository files navigation

StoragePcl

Using PCLStorage library for data storage on mobile devices using xamarin.

Load up the file
var storage = new StoragePCL.Storage(FileSystem.Current.LocalStorage);
await storage.LoadAsync();

// Write a value, this will create a key or overwrite an existing one. 
// Set the last parameter to true to encrypt the value before writing. Use this for things like passwords
await storage.InsertOrUpdateAsync("myKey", "This is the value.", false);

// Read in a value from key
var myValue = storage.Get("myKey");

// Get with an out for status code

// Delete a key

// Insert 

// Update only

// List out enum status codes

About

Using PCLStorage library for data storage on mobile devices using xamarin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages