Beispiel #1
0
        public RecordDisk(string driverName)
        {
            disk = new DiskUtil(driverName);

            recordControl = new RecordControl(disk);

            if (recordControl.IsValid == false) return;

            long offset = 512;
            int index = 0;
            while (true)
            {
                RecordFile file = new RecordFile(disk, offset,index++);
                if (file.Length == 0) break;

                listFile.Add(file);
                offset += file.Length;
            }
        }