public void Decode(PduMarshaler marshaler)
 {
     try
     {
         this.Component = (Component_Values)marshaler.ReadUInt16();
         this.PacketId = (PacketId_Values)marshaler.ReadUInt16();
     }
     catch
     {
         marshaler.Reset();
         throw new PDUDecodeException(this.GetType(), marshaler.ReadToEnd());
     }
 }
 public RdpefsPDU(Component_Values component, PacketId_Values packetId)
 {
     this.Header = new RDPDR_HEADER(component, packetId);
 }
 public RDPDR_HEADER(Component_Values component, PacketId_Values packetId)
 {
     this.Component = component;
     this.PacketId = packetId;
 }