public CNetwareSMEDirB(CBackupStream Reader) { DirectoryAttributes = Reader.ReadUInt32(); CreatorNameSpace = Reader.ReadUInt32(); Volume = Reader.ReadBytes(18); Modified = Reader.ReadInt16(); }
public CNetwareDirB(CBackupStream Reader) { OwnerID = Reader.ReadUInt32(); DirectoryAttributes = Reader.ReadUInt32(); MaximumSpace = Reader.ReadUInt32(); InheritedRights = Reader.ReadUInt16(); }
byte[] Volume; // 17 bytes public CNetwareSMSFile(CBackupStream Reader) { FileAttributes = Reader.ReadUInt32(); Modified = Reader.ReadInt16(); CreatorNameSpace = Reader.ReadUInt32(); Volume = Reader.ReadBytes(17); }
public CWindowsNT1File(CBackupStream Reader) { FileAttributes = Reader.ReadUInt32(); ShortNameOffset = Reader.ReadUInt16(); ShortNameSize = Reader.ReadUInt16(); NTFileFlags = Reader.ReadUInt32(); }
public CNetwareFile(CBackupStream Reader) { OwnerID = Reader.ReadUInt32(); FileAttributes = Reader.ReadUInt32(); LastModiferID = Reader.ReadUInt32(); ArchiverID = Reader.ReadUInt32(); InheritedRights = Reader.ReadUInt16(); }
public CMacintoshFile(CBackupStream Reader) { FinderInfo = Reader.ReadBytes(16); AdditionalFinderInfo = Reader.ReadBytes(16); FileID = Reader.ReadUInt32(); FileType = Reader.ReadUInt32(); FileCreator = Reader.ReadUInt32(); FileInfo = Reader.ReadUInt16(); FileXInfo = Reader.ReadByte(); FileAttributes = Reader.ReadByte(); }
byte[] FinderInfo; // 16 bytes #endregion Fields #region Constructors public CMacintoshFile(CBackupStream Reader) { FinderInfo = Reader.ReadBytes(16); AdditionalFinderInfo = Reader.ReadBytes(16); FileID = Reader.ReadUInt32(); FileType = Reader.ReadUInt32(); FileCreator = Reader.ReadUInt32(); FileInfo = Reader.ReadUInt16(); FileXInfo = Reader.ReadByte(); FileAttributes = Reader.ReadByte(); }
public CEndOfDataSetDescriptorBlock(CBackupStream backupStream) { base.ReadData(backupStream); ESETAttributes = (ESSETAttributes)backupStream.ReadUInt32(); NumberOfCorruptFiles = backupStream.ReadUInt32(); ReservedforMBC1 = backupStream.ReadUInt64(); ReservedforMBC2 = backupStream.ReadUInt64(); FDDMediaSequenceNumber = backupStream.ReadUInt16(); DataSetNumber = backupStream.ReadUInt16(); MediaWriteDate = backupStream.ReadDate(); 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); }
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 CSoftFilemarkDescriptorBlock(CBackupStream backupStream) { base.ReadData(backupStream); NumberOfFilemarkEntries = backupStream.ReadUInt32(); FilemarkEntriesUsed = backupStream.ReadUInt32(); PBAofPreviousFilemarksArray = new uint[FilemarkEntriesUsed]; for (uint i = 0; i < NumberOfFilemarkEntries; i++) { uint val = backupStream.ReadUInt32(); if (i < FilemarkEntriesUsed) { PBAofPreviousFilemarksArray.SetValue(val, i); } } //base.ReadStreams(Reader); }
public CWindowsNT0File(CBackupStream Reader) { FileAttributes = Reader.ReadUInt32(); ShortNameOffset = Reader.ReadUInt16(); ShortNameSize = Reader.ReadUInt16(); IsLink = Reader.ReadInt16(); Reserved = Reader.ReadUInt16(); }
public CCorruptObjectDescriptorBlock(CBackupStream backupStream) { base.ReadData(backupStream); CFilAttributes = (ECFilAttributes)backupStream.ReadUInt32(); Reserved = backupStream.ReadUInt64(); StreamOffset = backupStream.ReadUInt64(); CorrupStreamNumber = backupStream.ReadUInt16(); base.ReadStreams(backupStream); }
byte[] FinderInfo; // 16 bytes #endregion Fields #region Constructors public CMacintoshDirB(CBackupStream Reader) { FinderInfo = Reader.ReadBytes(16); AdditionalFinderInfo = Reader.ReadBytes(16); DirectoryID = Reader.ReadUInt32(); DirectoryInfo = Reader.ReadUInt16(); DirectoryXInfo = Reader.ReadByte(); DirectoryAttributes = Reader.ReadByte(); }
public CMacintoshDirB(CBackupStream Reader) { FinderInfo = Reader.ReadBytes(16); AdditionalFinderInfo = Reader.ReadBytes(16); DirectoryID = Reader.ReadUInt32(); DirectoryInfo = Reader.ReadUInt16(); DirectoryXInfo = Reader.ReadByte(); DirectoryAttributes = Reader.ReadByte(); }
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); }
byte [] VolumeFinderInfo; // 32 bytes public CMacintoshVolB(CBackupStream Reader) { VolumeParmsAttributes = Reader.ReadUInt32(); VolumeAttributes = Reader.ReadUInt16(); VolumeSignature = Reader.ReadUInt16(); DriveNumber = Reader.ReadUInt16(); DriverRefNumber = Reader.ReadUInt16(); FileSystemID = Reader.ReadUInt16(); CreatorDate = Reader.ReadDate(); ModificationDate = Reader.ReadDate(); VolumeFinderInfo = Reader.ReadBytes(32); }
public CMacintoshVolB(CBackupStream Reader) { VolumeParmsAttributes = Reader.ReadUInt32(); VolumeAttributes = Reader.ReadUInt16(); VolumeSignature = Reader.ReadUInt16(); DriveNumber = Reader.ReadUInt16(); DriverRefNumber = Reader.ReadUInt16(); FileSystemID = Reader.ReadUInt16(); CreatorDate = Reader.ReadDate(); ModificationDate = Reader.ReadDate(); VolumeFinderInfo = Reader.ReadBytes(32); }
/// <summary> /// Read block header. /// </summary> protected void ReadData(CBackupStream reader) { StartPosition = reader.BaseStream.Position; Streams = new List <CDataStream>(); BlockType = (EBlockType)reader.ReadUInt32(); Attributes = (EBlockAttributes)reader.ReadUInt32(); OffsetToFirstEvent = reader.ReadUInt16(); OSID = (EOSID)reader.ReadByte(); OSVersion = reader.ReadByte(); DisplayableSize = reader.ReadUInt64(); FormatLogicalAddress = reader.ReadUInt64(); ReservedMBC = reader.ReadUInt16(); Reserved1 = reader.ReadUInt16(); Reserved2 = reader.ReadUInt16(); Reserved3 = reader.ReadUInt16(); ControlBlock = reader.ReadUInt32(); Reserved4 = reader.ReadUInt32(); OsSpecificData = reader.ReadOsSpecificData(StartPosition, OSID, OSVersion, BlockType); StringType = (EStringType)reader.ReadByte(); Reserved5 = reader.ReadByte(); HeaderChecksum = reader.ReadUInt16(); }
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 CWindowsNT1VolB(CBackupStream Reader) { FileSystemFlags = Reader.ReadUInt32(); NTBackupSetAttributes = Reader.ReadUInt32(); }
public CWindowsNT1File(CBackupStream Reader) { FileAttributes = Reader.ReadUInt32(); ShortNameOffset = Reader.ReadUInt16(); ShortNameSize = Reader.ReadUInt16(); NTFileFlags = Reader.ReadUInt32(); }
public CWindowsNT1DirB(CBackupStream Reader) { DirectoryAttributes = Reader.ReadUInt32(); ShortNameOffset = Reader.ReadUInt16(); ShortNameSize = Reader.ReadUInt16(); }
public CWindowsNT0File(CBackupStream Reader) { FileAttributes = Reader.ReadUInt32(); ShortNameOffset = Reader.ReadUInt16(); ShortNameSize = Reader.ReadUInt16(); IsLink = Reader.ReadInt16(); Reserved = Reader.ReadUInt16(); }
public CWindowsNT0DirB(CBackupStream Reader) { DirectoryAttributes = Reader.ReadUInt32(); }
public COS2File(CBackupStream Reader) { FileAttributes = Reader.ReadUInt32(); }
byte[] Volume; // 17 bytes #endregion Fields #region Constructors public CNetwareSMSFile(CBackupStream Reader) { FileAttributes = Reader.ReadUInt32(); Modified = Reader.ReadInt16(); CreatorNameSpace = Reader.ReadUInt32(); Volume = Reader.ReadBytes(17); }
public COS2DirB(CBackupStream Reader) { DirectoryAttributes = Reader.ReadUInt32(); }
byte[] Volume; // 18 bytes #endregion Fields #region Constructors public CNetwareSMEDirB(CBackupStream Reader) { DirectoryAttributes = Reader.ReadUInt32(); CreatorNameSpace = Reader.ReadUInt32(); Volume = Reader.ReadBytes(18); Modified = Reader.ReadInt16(); }
public CNetwareFile(CBackupStream Reader) { OwnerID = Reader.ReadUInt32(); FileAttributes = Reader.ReadUInt32(); LastModiferID = Reader.ReadUInt32(); ArchiverID = Reader.ReadUInt32(); InheritedRights = Reader.ReadUInt16(); }
public CNetwareDirB(CBackupStream Reader) { OwnerID = Reader.ReadUInt32(); DirectoryAttributes = Reader.ReadUInt32(); MaximumSpace = Reader.ReadUInt32(); InheritedRights = Reader.ReadUInt16(); }
public COS2File(CBackupStream Reader) { FileAttributes = Reader.ReadUInt32(); }
public CWindows95DirB(CBackupStream Reader) { DirectoryAttributes = Reader.ReadUInt32(); ShortNameOffset = Reader.ReadUInt16(); ShortNameSize = Reader.ReadUInt16(); }
public CWindowsNT1VolB(CBackupStream Reader) { FileSystemFlags = Reader.ReadUInt32(); NTBackupSetAttributes = Reader.ReadUInt32(); }
public CWindowsNT0DirB(CBackupStream Reader) { DirectoryAttributes = Reader.ReadUInt32(); }
public COS2DirB(CBackupStream Reader) { DirectoryAttributes = Reader.ReadUInt32(); }