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

ParseCapsTypeActivation() private method

Parse TS_WINDOWACTIVATION_CAPABILITYSET
private ParseCapsTypeActivation ( byte data ) : TS_WINDOWACTIVATION_CAPABILITYSET
data byte data to be parsed
return TS_WINDOWACTIVATION_CAPABILITYSET
        private TS_WINDOWACTIVATION_CAPABILITYSET ParseCapsTypeActivation(byte[] data)
        {
            TS_WINDOWACTIVATION_CAPABILITYSET set = RdpbcgrUtility.ToStruct<TS_WINDOWACTIVATION_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