Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_INPUT_PDU.ToBytes C# (CSharp) Method

ToBytes() public method

Encode this structure into byte array.
public ToBytes ( ) : byte[]
return byte[]
        public override byte[] ToBytes()
        {
            byte[] inputPduData = EncodeInputPduData();

            List<byte> totalBuffer = new List<byte>();
            RdpbcgrEncoder.EncodeSlowPathPdu(totalBuffer, commonHeader, inputPduData, context);

            return RdpbcgrUtility.ToBytes(totalBuffer);
        }