/// <summary> /// Destroy any saved data. Deletes the data store and removes any /// certificates from the certificate store. /// </summary> public void DestroyData() { foreach (var s in subscriptions) { if (s != null) { WindowsAzureCertificate.DeleteFromStore(s.Certificate); } } profileStore.DestroyData(); }
public void DestroyData() { EnsureNewStore(); newStore.DestroyData(); }