Technology Summary
This post is just a note for me to track technologies. JQuery
This post is just a note for me to track technologies. JQuery
To call the function use: this.DumpIISInfo(new DirectoryEntry("IIS://localhost/w3svc")); /// <summary> /// Dump iis info /// </summary> /// <returns> /// 0 = All IIS information is written to the console /// 1 = Parameter entry was null…
To call this function use: DoesAppPoolHaveWebsites(new DirectoryEntry(string.Format("IIS://{0}/w3svc", "localhost")), "appPoolName") /// <summary> /// Determine if a IIS website running under an applicationpool exists. /// </summary> /// <returns></returns> public bool DoesAppPoolHaveWebsites(DirectoryEntry iisEntry, string appPoolName) { bool result…