获取程序的根目录:

 var path = HttpRuntime.AppDomainAppPath;
05-06 11:48