if (string.IndexOfAny(System.IO.Path.GetInvalidFileNameChars()) >= 0)
{
    
//含有非法字符
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
  • 2021-09-29
猜你喜欢
  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
  • 2021-10-15
  • 2022-12-23
  • 2022-02-09
相关资源
相似解决方案