Example #1
0
 public XbeCertifcate(CBinaryReader br)
 {
     this.Size             = br.ReadUInt32();
     this.TimeData         = br.ReadBytes(4);
     this.titleID          = br.ReadUInt32();
     this.titleName        = br.ReadBytes(80);
     this.AltTitleIDs      = br.ReadBytes(0x40);
     this.AllowedMedia     = (XbeAllowedMedia)br.ReadUInt32();
     this.GameRegion       = (XbeGameRegion)br.ReadUInt32();
     this.GameRatings      = br.ReadUInt32();
     this.DiskNumber       = br.ReadUInt32();
     this.Version          = br.ReadUInt32();
     this.LanKey           = br.ReadBytes(0x10);
     this.SignatureKey     = br.ReadBytes(0x10);
     this.AltSignatureKeys = br.ReadBytes(0x100);
 }
Example #2
0
 public XbeCertifcate(CBinaryReader br)
 {
     this.Size = br.ReadUInt32();
     this.TimeData = br.ReadBytes(4);
     this.titleID = br.ReadUInt32();
     this.titleName = br.ReadBytes(80);
     this.AltTitleIDs = br.ReadBytes(0x40);
     this.AllowedMedia = (XbeAllowedMedia) br.ReadUInt32();
     this.GameRegion = (XbeGameRegion) br.ReadUInt32();
     this.GameRatings = br.ReadUInt32();
     this.DiskNumber = br.ReadUInt32();
     this.Version = br.ReadUInt32();
     this.LanKey = br.ReadBytes(0x10);
     this.SignatureKey = br.ReadBytes(0x10);
     this.AltSignatureKeys = br.ReadBytes(0x100);
 }