public override bool Decode(PduMarshaler marshaler)
 {
     try
     {
         base.Decode(marshaler);
         this.VersionMajor = (VersionMajor_Values)marshaler.ReadUInt16();
         this.VersionMinor = (VersionMinor_Values)marshaler.ReadUInt16();
         this.ClientId = marshaler.ReadUInt32();
         return true;
     }
     catch
     {
         marshaler.Reset();
         throw new PDUDecodeException(this.GetType(), marshaler.ReadToEnd());
     }
 }
 public DR_CORE_SERVER_ANNOUNCE_REQ()
     : base(Component_Values.RDPDR_CTYP_CORE, PacketId_Values.PAKID_CORE_SERVER_ANNOUNCE)
 {
     this.VersionMajor = VersionMajor_Values.V1;
 }