获取当前文件夹路径

HttpContext.Current.Server.MapPath("bin/20170220.crt")

  

AppDomain.CurrentDomain.BaseDirectory