if( System.IO.Path.GetInvalidPathChars().Any (p =>uniqueName.Contains(p) )) { //文件名 包含非法字符 } 相关文章: 2022-02-13 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2022-12-23 2022-12-23