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

ToBytes() public method

Encode this structure into byte array.
public ToBytes ( ) : byte[]
return byte[]
        public override byte[] ToBytes()
        {
            List<byte> totalBuffer = new List<byte>();

            byte[] refreshPduData = EncodeRefreshData(refreshRectPduData);
            RdpbcgrEncoder.EncodeSlowPathPdu(totalBuffer, commonHeader, refreshPduData, context);

            return RdpbcgrUtility.ToBytes(totalBuffer);
        }