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
浙公网安备 33010602011771号