public void IsIISInstalled() { Assert.IsFalse(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesVersion.IIS4)); Assert.IsFalse(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesVersion.IIS5)); Assert.IsFalse(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesVersion.IIS6)); Assert.IsFalse(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesVersion.IIS7)); }
public void IsSubcomponentInstalled() { Assert.IsFalse(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesSubcomponent.ASP)); Assert.IsFalse(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesSubcomponent.Bits)); Assert.IsFalse(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesSubcomponent.BitsISAPI)); Assert.IsFalse(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesSubcomponent.Common)); Assert.IsFalse(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesSubcomponent.FrontPageExtensions)); Assert.IsFalse(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesSubcomponent.FTP)); Assert.IsFalse(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesSubcomponent.ManagementConsole)); Assert.IsFalse(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesSubcomponent.InternetDataConnector)); Assert.IsFalse(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesSubcomponent.InternetPrinting)); Assert.IsFalse(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesSubcomponent.NNTP)); Assert.IsFalse(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesSubcomponent.RemoteAdmin)); Assert.IsFalse(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesSubcomponent.ServerSideIncludes)); Assert.IsFalse(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesSubcomponent.SMTP)); Assert.IsFalse(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesSubcomponent.TSWebClient)); Assert.IsFalse(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesSubcomponent.WebDAV)); Assert.IsFalse(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesSubcomponent.WWW)); }
public void IsFeatureInstalled() { Assert.IsTrue(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesFeature.ApplicationInitialization)); Assert.IsTrue(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesFeature.ASP)); Assert.IsTrue(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesFeature.AspNet)); Assert.IsTrue(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesFeature.AspNet45)); Assert.IsTrue(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesFeature.Authorization)); Assert.IsTrue(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesFeature.BasicAuthentication)); Assert.IsTrue(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesFeature.CGI)); Assert.IsTrue(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesFeature.ClientCertificateMappingAuthentication)); Assert.IsTrue(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesFeature.CustomLogging)); Assert.IsTrue(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesFeature.DefaultDocument)); Assert.IsTrue(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesFeature.DigestAuthentication)); Assert.IsTrue(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesFeature.DirectoryBrowsing)); Assert.IsTrue(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesFeature.DynamicContentCompression)); Assert.IsTrue(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesFeature.FTP)); Assert.IsTrue(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesFeature.FTPExtensibility)); Assert.IsTrue(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesFeature.HttpLogging)); Assert.IsTrue(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesFeature.HttpRedirection)); Assert.IsTrue(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesFeature.IISCertificateMappingAuthentication)); Assert.IsTrue(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesFeature.IPSecurity)); Assert.IsTrue(InternetInformationServicesDetection.IsInstalled(InternetInformationServicesFeature.ISAPIExtensions)); }