asp.net知道iis网站名如何得到该网站物理路径
asp.net
知道了iis中网站的名称,如何得到该网站的物理路径,注意这里是知道了网站名称而不是虚拟目录名称,都是一个个单独的网站,
我的iis结构如下
网站标示 访问地址 物理路径
abc http://localhost:123 D:/abc
def http://localhost:456 D:/def
test http://localhost:789 D:/test
项目所在网站是 abc 如果知道了test 如何找到是 D:/test ?
不要告诉我是Server.MapPath()或者Request.ApplicationPath等,