What determines the return value of Path.GetTempPath()?

后端 未结 6 406
忘了有多久
忘了有多久 2020-12-08 13:20

Currently, I use Path.GetTempPath() to figure out where to write my log files, but recently I came across a user\'s machine where the path returned was not what

6条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-08 13:47

    It calls the GetTempPath function. The documentation explains what environment variables it checks.

提交回复
热议问题