Ejemplo n.º 1
0
 public Segment(Segment seg)
 {
     CopyrightCode   = seg.CopyrightCode;
     WhereCode       = seg.WhereCode;
     ExtraProperties = seg.ExtraProperties;
     Copyright       = seg.Copyright;
 }
Ejemplo n.º 2
0
 public Segment(CopyrightCodes cc, WhereCodes wc, string txt, UInt16 extra = 0)
 {
     CopyrightCode   = cc;
     WhereCode       = wc;
     ExtraProperties = extra;
     Copyright       = txt;
 }
Ejemplo n.º 3
0
 public Segment()
 {
     CopyrightCode   = CopyrightCodes.CopyrightInformation;
     WhereCode       = WhereCodes.ProductInformation;
     ExtraProperties = 0;
     Copyright       = "";
 }
Ejemplo n.º 4
0
                public void Read(BinaryReaderWriter br)
                {
                    byte b = br.ReadByte();

                    CopyrightCode = CopyrightCodes.Unknown;
                    try {
                        CopyrightCode = (CopyrightCodes)b;
                    } catch { }

                    b         = br.ReadByte();
                    WhereCode = WhereCodes.Unknown;
                    try {
                        WhereCode = (WhereCodes)b;
                    } catch { }

                    ExtraProperties = br.Read2AsUShort();

                    Copyright = br.ReadString();
                }