#FileAttributes

FileAttributes Enum

https://docs.microsoft.com/en-us/dotnet/api/system.io.fileattributes?view=netframework-4.7.2在桌面新建一个文件file-to-delete.txt,设置只读属性。先删除,然后从回收站还原[Test]publicvoidFileA...
代码星球 ·2021-02-08