0
有什么方法可以在Web App运行时检索tempdirectory的值吗?通过方法我的意思是任何API(如Path.GetTempPath())
从代码访问asp临时目录
<system.web>
<compilation debug="true" tempDirectory="some path" targetFramework="4.6" />
<httpRuntime targetFramework="4.5" />
</system.web>
我想避免直接读取配置文件。