对文件操作,需要将文件临时存储在当前用户临时文件夹中:

获取用户临时文件夹路径

 

class Bt
    {
        public void LocalTempPath()
        {
            var tempPath = System.IO.Path.GetTempPath();
            Console.WriteLine(tempPath);
        }
    }
Source Code

相关文章:

  • 2022-12-23
  • 2022-02-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-15
  • 2021-12-15
相关资源
相似解决方案