MimeContentStorage Enumeration

The storage used for parsed MIME part content.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public enum MimeContentStorage

Remarks

The input stream remains owned by the caller in both modes.

Members

Memory 0 Copy MIME part content into memory. This is the default and allows the caller to close or modify the input stream after parsing.
Source 1 Reference MIME part content in the seekable input stream instead of copying it. The caller must keep the stream open and its contents unchanged while the parsed content is in use. Disposing parsed messages or entities does not close the stream.

See Also

Reference