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;
}