RawDisk disk = new RawDisk(DiskNumberType.PhysicalDisk, Convert.ToInt32(devnum), FileAccess.Read); long diskReadLength = disk.SizeBytes; long totalRead = 0; int increment = (int)(((16f * 1024f * 1024f) / disk.SectorSize) * disk.SectorSize); byte[] input = new byte[increment]; Stopwatch sw = new Stopwatch(); FileStream fs = new FileStream(path, FileMode.Create);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)