C#递归异步获取本地驱动器下所有文件
//获取所有驱动器 string[] drives = Environment.GetLogicalDrives(); foreach (string driver in drives) { Console.WriteLine(driver); //驱动器信息 DriveInfo di = new DriveInfo(driver); //是否准备好 Console.WriteLine("isRead:" + di.IsReady); //名称 Console.WriteLi
下载地址
用户评论