闲来无事,又8月了

public void SaveLensDisRet(string fileContent)
{
  var filePath = Directory.GetCurrentDirectory() + "\\data\\LensDisRet\\";
  if (!Directory.Exists(filePath))
  {
    Directory.CreateDirectory(filePath);
  }
  using (StreamWriter sw = new StreamWriter(filePath + ChuckName + DateTime.Now.ToString("yyyyMMddHHmmss") + ".txt"))
  {
    sw.Write(fileContent);
    sw.Flush();
    sw.Close();
  }
}

posted @ 2023-08-03 11:11  超级驼鹿  阅读(15)  评论(0编辑  收藏  举报
/*