public IisWebSite(Site iisSite) { this.site = iisSite; this.currentPool = new IisApplicationPool(iisSite.Applications[0].ApplicationPoolName); }