摘要: 获取磁盘信息DriveInfo foreach (var div in DriveInfo.GetDrives()) { Console.WriteLine(div + "容量:"+ div.TotalSize);//获取到盘符 } 获取文件信息Environment Console.WriteLi 阅读全文
posted @ 2022-11-01 02:55 Akai_啊凯 阅读(533) 评论(0) 推荐(0) 编辑