· 7 years ago · Oct 09, 2018, 12:06 AM
1try
2{
3 //Write
4 await SecureStorage.SetAsync("oauth_token", "secret-oauth-token-value");
5 //Read
6 var oauthToken = await SecureStorage.GetAsync("oauth_token");
7}
8catch (Exception ex)
9{
10 // Possible that device doesn't support secure storage on device.
11}