.net获取程序根目录

获取程序的根目录:

 var path = HttpRuntime.AppDomainAppPath;

 

posted @ 2018-10-10 10:50  Hi!宋先生  阅读(188)  评论(0)    收藏  举报