/// <inheritdoc /> public async Task Reset() { await _protectedStore.Delete(TestIdentifier).ConfigureAwait(false); await _protectedStore.Delete(ProtectedStoreKeyIdentifier).ConfigureAwait(false); await _protectedStore.Delete(ProtectedStoreSaltIdentifier).ConfigureAwait(false); await _protectedStore.Delete(ProtectedStoreDeviceSaltIdentifier).ConfigureAwait(false); Clear(); }
/// <inheritdoc /> public async Task Reset() { try { await _protectedStore.Delete(TestIdentifier).ConfigureAwait(false); await _protectedStore.Delete(ProtectedStoreKeyIdentifier).ConfigureAwait(false); await _protectedStore.Delete(ProtectedStoreSaltIdentifier).ConfigureAwait(false); await _protectedStore.Delete(ProtectedStoreDeviceSaltIdentifier).ConfigureAwait(false); } catch (Exception) { // ignore } _protectedStore.Remove(); Clear(); }