private TS_LOGON_INFO_EXTENDED ParseTsLogonInfoExtended(byte[] data, ref int currentIndex)
{
TS_LOGON_INFO_EXTENDED info = new TS_LOGON_INFO_EXTENDED();
// TS_LOGON_INFO_EXTENDED: Length
info.Length = ParseUInt16(data, ref currentIndex, false);
// TS_LOGON_INFO_EXTENDED: FieldsPresent
info.FieldsPresent = (FieldsPresent_Values)ParseUInt32(data, ref currentIndex, false);
// TS_LOGON_INFO_EXTENDED: LogonFields
info.LogonFields = ParseTsLogonInfoFields(data, ref currentIndex, info.FieldsPresent);
// TS_LOGON_INFO_EXTENDED: Pad
info.Pad = GetBytes(data, ref currentIndex, ConstValue.TS_LOGON_INFO_EXTENDED_PAD_LENGTH);
return info;
}