2008年5月31日

c# GetVirutalDiretory Mapped PhyicalPath

摘要: using System.DirectoryServices;DiectoryEntry entry=new DirectoryEntry("IIS://Localhost/W3SVC");foreach(DirectoryEntry entrySite in entry.Children){ if("IIsWebServer"!=entrySite.SchemeClassName) continue; foreach(object vSite in entrySite.Properties["ServerBindings"]){ i 阅读全文

posted @ 2008-05-31 22:10 老代哥哥 阅读(205) 评论(0) 推荐(0) 编辑

导航