/// <summary> /// Removes a certificate store from the collection. /// </summary> /// <param name="store">An instance of the <see cref="CertificateStore"/> class.</param> /// <exception cref="ArgumentNullException"><paramref name="store"/> is a null reference (<b>Nothing</b> in Visual Basic).</exception> public void RemoveStore(CertificateStore store) { if (store == null) { throw new ArgumentNullException(); } SspiProvider.CertRemoveStoreFromCollection(this.Handle, store.Handle); m_Stores.Remove(store); }