[Solved] when to use await key word? do I need it in this case?
no you don’t need to do that, you can use .Result if you don’t want to execute your code asynchronously , this code is perfectly fine : private void Button_Clicked(object sender, EventArgs e) { try { var getTokenQ = SecureStorage.GetAsync(“Save_Security_Question”).Result; if ((String.IsNullOrWhiteSpace(getTokenQ) == false)) { } else { } } catch (Exception ex) { DisplayAlert(“Message”, … Read more