private void GetNextCluster() { CurrentClusterStart += ClusterSize; CurrentClusterEnd = CurrentClusterStart + ClusterSize; CurrentClusterNumber = fat.GetNextCluster(CurrentClusterNumber); if (CurrentClusterNumber == (fat as FileAllocationTableFAT32).ClusterEOL) { throw new Exception("end of file"); } CurrentCluster = fs.ReadCluster(CurrentClusterNumber); }