Table of Contents

Property MaxContainerParts

Namespace
MailFathom.Application.Emails.Extraction.Attachments
Assembly
MailFathom.Application.dll

MaxContainerParts

Gets the greatest number of parts a container format may hold.

public int MaxContainerParts { get; init; }

Property Value

int

Remarks

An archive of very many tiny parts costs per part rather than per octet, which neither size bound above measures. It is checked against what the archive's own directory declares, and reading that directory is what answers the count — so this bounds the parts a reader will go on to open rather than the cost of learning how many there are. That cost is bounded instead by MaxInputOctets, since a directory entry cannot be smaller than its own record and the whole archive was already refused above this ceiling.