コード例 #1
0
 public CStartOfDataSetDescriptorBlock(CBackupStream Reader)
 {
     base.ReadData(Reader);
     SSETAttributes = (ESSETAttributes)Reader.ReadUInt32();
     PasswordEncryptionAlgorithm  = Reader.ReadUInt16();
     SoftwareCompressionAlgorithm = Reader.ReadUInt16();
     SoftwareVendorID             = Reader.ReadUInt16();
     DataSetNumber        = Reader.ReadUInt16();
     DataSetName          = Reader.ReadString(StartPosition, StringType);
     DataSetDescription   = Reader.ReadString(StartPosition, StringType);
     DataSetPassword      = Reader.ReadString(StartPosition, StringType);
     UserName             = Reader.ReadString(StartPosition, StringType);
     PhysicalBlockAddress = Reader.ReadUInt64();
     MediaWriteDate       = Reader.ReadDate();
     SoftwareMajorVersion = Reader.ReadByte();
     SoftwareMinorVersion = Reader.ReadByte();
     MTFTimeZone          = Reader.ReadSByte();
     MTFMinorVersion      = Reader.ReadByte();
     MediaCatalogVersion  = Reader.ReadByte();
     base.ReadStreams(Reader);
 }
コード例 #2
0
ファイル: CDescriptorBlock.cs プロジェクト: 340211173/hf-2011
 public CStartOfDataSetDescriptorBlock(CBackupStream Reader)
 {
     base.ReadData(Reader);
     SSETAttributes = (ESSETAttributes)Reader.ReadUInt32();
     PasswordEncryptionAlgorithm = Reader.ReadUInt16();
     SoftwareCompressionAlgorithm = Reader.ReadUInt16();
     SoftwareVendorID = Reader.ReadUInt16();
     DataSetNumber = Reader.ReadUInt16();
     DataSetName = Reader.ReadString(StartPosition, StringType);
     DataSetDescription = Reader.ReadString(StartPosition, StringType);
     DataSetPassword = Reader.ReadString(StartPosition, StringType);
     UserName = Reader.ReadString(StartPosition, StringType);
     PhysicalBlockAddress = Reader.ReadUInt64();
     MediaWriteDate = Reader.ReadDate();
     SoftwareMajorVersion = Reader.ReadByte();
     SoftwareMinorVersion = Reader.ReadByte();
     MTFTimeZone = Reader.ReadSByte();
     MTFMinorVersion = Reader.ReadByte();
     MediaCatalogVersion = Reader.ReadByte();
     base.ReadStreams(Reader);
 }