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

ParseRdpNegCorrelationInfo() private method

private ParseRdpNegCorrelationInfo ( byte data, int &currentIndex ) : RDP_NEG_CORRELATION_INFO
data byte
currentIndex int
return RDP_NEG_CORRELATION_INFO
        private RDP_NEG_CORRELATION_INFO ParseRdpNegCorrelationInfo(byte[] data, ref int currentIndex)
        {
            RDP_NEG_CORRELATION_INFO negCorrelationInfo = new RDP_NEG_CORRELATION_INFO();
            negCorrelationInfo.type = (RDP_NEG_CORRELATION_INFO_Type)ParseByte(data, ref currentIndex);
            negCorrelationInfo.flags = ParseByte(data, ref currentIndex);
            negCorrelationInfo.length = ParseUInt16(data, ref currentIndex, false);
            negCorrelationInfo.correlationId = GetBytes(data, ref currentIndex, 16);
            negCorrelationInfo.reserved = GetBytes(data, ref currentIndex, 16);

            return negCorrelationInfo;
        }
RdpbcgrServerDecoder