public CVolumeDescriptorBlock(CBackupStream backupStream) { base.ReadData(backupStream); VOLBAttributes = (EVOLBAttributes)backupStream.ReadUInt32(); DeviceName = backupStream.ReadString(StartPosition, StringType); VolumeName = backupStream.ReadString(StartPosition, StringType); MachineName = backupStream.ReadString(StartPosition, StringType); MediaWriteDate = backupStream.ReadDate(); base.ReadStreams(backupStream); }
public CTapeHeaderDescriptorBlock(CBackupStream backupStream) { base.ReadData(backupStream); MediaFamilyID = backupStream.ReadUInt32(); TapeAttributes = (ETapeAttributes)backupStream.ReadUInt32(); MediaSequenceNumber = backupStream.ReadUInt16(); PasswordEncryptionAlgorithm = backupStream.ReadUInt16(); SoftFilemarkBlockSize = backupStream.ReadUInt16(); MediaBasedCatalogType = (EMediaBasedCatalogType)backupStream.ReadUInt16(); MediaName = backupStream.ReadString(StartPosition, StringType); MediaDescription = backupStream.ReadString(StartPosition, StringType); MediaPassword = backupStream.ReadString(StartPosition, StringType); SoftwareName = backupStream.ReadString(StartPosition, StringType); FormatLogicalBlockSize = backupStream.ReadUInt16(); SoftwareVendorID = backupStream.ReadUInt16(); MediaDate = backupStream.ReadDate(); MTFMajorVersion = backupStream.ReadByte(); base.ReadStreams(backupStream); }
public CStartOfDataSetDescriptorBlock(CBackupStream backupStream) { base.ReadData(backupStream); SSETAttributes = (ESSETAttributes)backupStream.ReadUInt32(); PasswordEncryptionAlgorithm = backupStream.ReadUInt16(); SoftwareCompressionAlgorithm = backupStream.ReadUInt16(); SoftwareVendorID = backupStream.ReadUInt16(); DataSetNumber = backupStream.ReadUInt16(); DataSetName = backupStream.ReadString(StartPosition, StringType); DataSetDescription = backupStream.ReadString(StartPosition, StringType); DataSetPassword = backupStream.ReadString(StartPosition, StringType); UserName = backupStream.ReadString(StartPosition, StringType); PhysicalBlockAddress = backupStream.ReadUInt64(); MediaWriteDate = backupStream.ReadDate(); SoftwareMajorVersion = backupStream.ReadByte(); SoftwareMinorVersion = backupStream.ReadByte(); MTFTimeZone = backupStream.ReadSByte(); MTFMinorVersion = backupStream.ReadByte(); MediaCatalogVersion = backupStream.ReadByte(); base.ReadStreams(backupStream); }
public CFileDescriptorBlock(CBackupStream backupStream) { base.ReadData(backupStream); FileAttributes = (EFileAttributes)backupStream.ReadUInt32(); LastModificationDate = backupStream.ReadDate(); CreationDate = backupStream.ReadDate(); BackupDate = backupStream.ReadDate(); LastAccessDate = backupStream.ReadDate(); DirectoryID = backupStream.ReadUInt32(); FileID = backupStream.ReadUInt32(); FileName = backupStream.ReadString(StartPosition, StringType); base.ReadStreams(backupStream); }
public CDirectoryDescriptorBlock(CBackupStream reader) { base.ReadData(reader); DIRBAttributes = (EDIRBAttributes)reader.ReadUInt32(); LastModificationDate = reader.ReadDate(); CreationDate = reader.ReadDate(); BackupDate = reader.ReadDate(); LastAccessDate = reader.ReadDate(); DirectoryID = reader.ReadUInt32(); // MTF uses '\0' as the path seperator. Replace them with '\\' DirectoryName = reader.ReadString(StartPosition, StringType).Replace('\0', '\\'); base.ReadStreams(reader); }