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