Hello,
Welcome to our Microsoft Q&A platform!
How can I clear all SecureStorage except one which is named Country
1.You can call the SecureStorage.GetAsync("Country")
to save the value in your application.
2.Then call SecureStorage.RemoveAll();
to remove the all keys.
- Set the Courntry key
await SecureStorage.SetAsync("Country", "xxxxxxx");
, Now your achieve the Clear SecureStorage except Country key.
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.