Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc.PduBuilder.CreateDataCompressedReqPdu C# (CSharp) Method

CreateDataCompressedReqPdu() public method

Create DYNVC_DATA_COMPRESSED
public CreateDataCompressedReqPdu ( uint channelId, byte data ) : DataCompressedDvcPdu
channelId uint
data byte
return DataCompressedDvcPdu
        public DataCompressedDvcPdu CreateDataCompressedReqPdu(uint channelId, byte[] data)
        {
            DataCompressedDvcPdu compressedPdu = new DataCompressedDvcPdu(channelId, data);
            compressedPdu.GetNonDataSize();
            return compressedPdu;
        }

Usage Example

        private void SendDataCompressedReqPdu(uint channelId, byte[] data, DynamicVC_TransportType transportType)
        {
            DataCompressedDvcPdu pdu = pduBuilder.CreateDataCompressedReqPdu(channelId, data);

            Send(pdu, transportType);
        }
All Usage Examples Of Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc.PduBuilder::CreateDataCompressedReqPdu