public override void CleanUp() { if (iis.WebSiteExists(uniqueValue)) { iis.DeleteWebSite(uniqueValue); } if (iis.ApplicationPoolExists(uniqueValue)) { iis.DeleteApplicationPool(uniqueValue); } base.CleanUp(); }
public override void CleanUp() { if (iis.WebSiteExists(uniqueValue)) { iis.DeleteWebSite(uniqueValue); } if (iis.ApplicationPoolExists(uniqueValue)) { iis.DeleteApplicationPool(uniqueValue); } #if WINDOWS_CERTIFICATE_STORE_SUPPORT SampleCertificate.CapiWithPrivateKey.EnsureCertificateNotInStore(StoreName.My, StoreLocation.LocalMachine); #endif base.CleanUp(); }