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

ParseTsFpFipsInfo() private method

Parse TS_FP_FIPS_INFO (parser index is updated according to parsed length)
private ParseTsFpFipsInfo ( byte data, int &currentIndex ) : TS_FP_FIPS_INFO
data byte data to be parsed
currentIndex int current parser index
return TS_FP_FIPS_INFO
        private TS_FP_FIPS_INFO ParseTsFpFipsInfo(byte[] data, ref int currentIndex)
        {
            TS_FP_FIPS_INFO info = new TS_FP_FIPS_INFO();

            // TS_FP_FIPS_INFO: length
            info.length = (TS_FP_FIPS_INFO_length_Values)ParseUInt16(data, ref currentIndex, false);

            // TS_FP_FIPS_INFO: version
            info.version = ParseByte(data, ref currentIndex);

            // TS_FP_FIPS_INFO: padlen
            info.padlen = ParseByte(data, ref currentIndex);

            return info;
        }
RdpbcgrServerDecoder