ReadonlyheadersThe headers belonging to this MIME entity.
ReadonlycontentThe entity's Content-Type value.
Protected ReadonlylazyThe MIME content for this part.
Gets the id parameter of the Content-Type header.
Gets the id parameter of the Content-Type header.
Gets the number parameter of the Content-Type header.
Gets the number parameter of the Content-Type header.
Gets the total parameter of the Content-Type header.
Gets the total parameter of the Content-Type header.
C#: internal IsDisposed (exposed publicly; upstream tests read it via InternalsVisibleTo).
Gets or sets the Content-Disposition header value.
Sets the absolute Content-Base URI.
Sets the Content-Location URI.
Sets the Content-Id header value.
Gets or sets whether this entity is marked as an attachment.
Setting this updates the Content-Disposition disposition between
attachment and inline.
Sets whether this entity is marked as an attachment.
Sets the Content-Description header value.
Sets the Content-Duration value in seconds.
Sets the Content-MD5 checksum value.
Gets or sets the Content-Transfer-Encoding value.
Gets or sets the file name from Content-Disposition or Content-Type.
Sets the file name in Content-Disposition and Content-Type.
Dispatches to the visitor method for message/partial entities.
The visitor.
StaticsplitSplits a message into multiple message/partial messages.
The message to split.
The maximum size for each message body.
The partial messages.
StaticjoinJoins message/partial parts into the complete message.
The message containing the first message/partial body.
The partial message parts.
The reassembled message, or null when reassembly fails.
Joins message/partial parts into the complete message.
Parser options to use.
The message containing the first message/partial body.
The partial message parts.
The reassembled message, or null when reassembly fails.
Serializes the MIME entity to a string.
The serialized MIME entity.
ProtectedcheckProtectedtryProtectedremoveProtectedsetProtectedsetStaticloadC#: MimeEntity.Load. Parses a MIME entity from a stream (or byte buffer), or — given an explicit Content-Type — from a bare content stream (the HttpWebResponse use-case, where headers are parsed separately). Parse errors are returned as an Err (C#: FormatException) per the port's Result convention.
Optionalpersistent: booleanOptionaloptions: ParserOptionsC#: MimeEntity.Load. Parses a MIME entity from a stream (or byte buffer), or — given an explicit Content-Type — from a bare content stream (the HttpWebResponse use-case, where headers are parsed separately). Parse errors are returned as an Err (C#: FormatException) per the port's Result convention.
Optionaloptions: ParserOptionsC#: MimeEntity.Load. Parses a MIME entity from a stream (or byte buffer), or — given an explicit Content-Type — from a bare content stream (the HttpWebResponse use-case, where headers are parsed separately). Parse errors are returned as an Err (C#: FormatException) per the port's Result convention.
Optionaloptions: ParserOptionsCalculates the best content-transfer-encoding for this part.
The encoding constraint.
The maximum line length.
The best content-transfer-encoding.
Verifies the Content-MD5 checksum against the decoded content.
true if the checksum matches; otherwise false.
Writes the MIME part to a stream.
Formatting options.
The destination stream.
Writes the MIME part to a stream.
Formatting options.
The destination stream.
Whether to omit the part headers.
ProtectedonReleases the content and base entity resources.
A MIME part containing a fragment of a larger message.
The message/partial type is used to split large messages into multiple parts, typically for transports with message size limits.