I'm using a UniversalDataReader to read a fixed length file that contains both a header and trailer record. I can skip the header record by setting 'Skip first line' to true (I see this is deprecated but can't find a better solution).
However, I'm unable to skip the trailer record. As a result I get an error stating 'Unexpected record delimiter, probably record is too short."
How can I skip trailer records? The files have a variable number of records so I can't control it by the # of records in the file.