摘要:
本地磁盘://long totalSize = new long();//str_HardDiskName = str_HardDiskName + ":\\";//System.IO.DriveInfo[] drives = System.IO.DriveInfo.GetDrives();//foreach (System.IO.DriveInfo drive in drives)//{// if (drive.Name == str_HardDiskName)// {// totalSize = drive.TotalSize / (1024 * 1024 * 1024 阅读全文