/// <summary> /// Verify the common header of RDPEGFX messages. /// </summary> /// <param name="pdu"> The received RdpegfxPdu message. </param> /// <returns> True if validation pass, otherwise false. </returns> bool RDPEGFX_ValidateHeader(RdpegfxPdu pdu) { Site.Assert.AreEqual(0, pdu.Header.flags, "Graphics command flags Must be set to Zero(Section 2.2.2.5). Received flags: {0}", pdu.Header.flags); return true; }
/// <summary> /// Add RDPEGFX pdu into buffer /// </summary> /// <param name="pdu"></param> private void AddPdusToBuffer(RdpegfxPdu pdu) { lock (rdpegfxPdusToSent) { rdpegfxPdusToSent.Add(pdu); } }