Microsoft.HockeyApp.AuthManager.RemoveUserTokenAsync C# (CSharp) Method

RemoveUserTokenAsync() private method

Removes the user token from the phone store, so on the next call to AuthenticateUser the Loginscreen is shown. Effectively this serves as a logout from your app. In most cases you want to call AuthenticateUser() immediatley after RemoveUserToken
private RemoveUserTokenAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
        internal async Task RemoveUserTokenAsync()
        {
            try
            {
                var file = await ApplicationData.Current.LocalFolder.GetFileAsync(ConstantsUniversal.AuthStatusKey + ConstantsUniversal.EncryptedFileExt);
                await file.DeleteAsync();
            }
            catch (FileNotFoundException)
            {
               //file doesn't exist
            }
        }