摘要: string SiteID = null; DirectoryEntry root = new DirectoryEntry("IIS://localhost/W3SVC"); foreach (DirectoryEntry child in root.Children) { if (child.SchemaClassName == "IIsWebServer") { if (WebSiteNa... 阅读全文
posted @ 2010-08-05 00:31 greencolor 阅读(324) 评论(0) 推荐(0) 编辑