Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.RdpbcgrServerSessionContext.SplitToChunks C# (CSharp) Method

SplitToChunks() private method

Split complete virtual data into chunks by the member field channelManager. This method is called when sending Virtual Channel PDU.
private SplitToChunks ( long channelId, byte virtualChannelData ) : Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.ChannelChunk[]
channelId long The channel id. If the channel id is invalid, /// then the return value is null.
virtualChannelData byte The complete channel data. This argument can be null.
return Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.ChannelChunk[]
        internal ChannelChunk[] SplitToChunks(long channelId, byte[] virtualChannelData)
        {
            lock (contextLock)
            {
                return channelManager.SplitToChunks((UInt16)channelId, virtualChannelData);
            }
        }