string p = @"C:\Test\1.txt"; FileInfo fi = new FileInfo(@"C:\Test\1.txt"); if (fi.Attributes == (FileAttributes.ReadOnly | FileAttributes.Archive)) { }
111,093
社区成员
642,554
社区内容
加载中
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧