DeleteFromStore() private method

private DeleteFromStore ( X509Certificate2 certificate ) : void
certificate System.Security.Cryptography.X509Certificates.X509Certificate2
return void
Example #1
0
 /// <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();
 }