Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.RdpbcgrServerDecoder.ParseCapsTypeCompDesk C# (CSharp) Method

ParseCapsTypeCompDesk() private method

Parse TS_COMPDESK_CAPABILITYSET
private ParseCapsTypeCompDesk ( byte data ) : TS_COMPDESK_CAPABILITYSET
data byte data to be parsed
return TS_COMPDESK_CAPABILITYSET
        private TS_COMPDESK_CAPABILITYSET ParseCapsTypeCompDesk(byte[] data)
        {
            TS_COMPDESK_CAPABILITYSET set = RdpbcgrUtility.ToStruct<TS_COMPDESK_CAPABILITYSET>(data);

            // Check if data length is consistent with the decoded struct length
            VerifyDataLength(data.Length, Marshal.SizeOf(set), ConstValue.ERROR_MESSAGE_DATA_LENGTH_INCONSISTENT);
            return set;
        }
RdpbcgrServerDecoder