MimeReader Members

Include Protected Members
Include Inherited Members

The MimeReader class returns information about a MIME stream.

The MimeReader type exposes the following members.

Constructors

  Name Description
Public method MimeReader(Stream) The MimeReader constructor creates a new MimeReader object.
Public method MimeReader(Stream, Boolean, DecodingOptions, MimeLimits) The MimeReader constructor creates a new MimeReader object.

Top

Properties

  Name Description
Public property ComplianceStatus The ComplianceStatus property indicates which errors were found in the incoming MIME document or that the MIME document is compliant.
Public property ContentType The ContentType property gets the content type of the current part.
Public property EmbeddedDepth The EmbeddedDepth property gets an integer that represents the depth to which the current message is embedded.
Public property HeaderDecodingOptions The HeaderDecodingOptions property gets a DecodingOptions structure that specifies how to decode incoming headers.
Public property HeaderReader The HeaderReader property gets a MimeHeaderReader structure that returns information about the headers in this MimeReader object.
Public property InlineFileName The InlineFileName property gets the name of an inline file attachment.
Public property IsEmbeddedMessage The IsEmbeddedMessage property gets a Boolean value indicates whether the current message is embedded at least one level deep in another message.
Public property IsInline The IsInline property gets a Boolean value that indicates whether the current part is an inline attachment.
Public property IsMultipart The IsMultipart property gets a Boolean value that indicates whether the current MIME part is simple or multipart.
Public property MimeLimits The MimeLimits property gets a MimeLimits object that controls the complexity that this MimeReader object will allow.
Public property PartDepth The PartDepth parameter gets an integer that represents the depth of nesting of the current MIME part.
Public property StreamOffset The StreamOffset parameter gets a value that indicates the number of bytes that this MimeReader object has read from its input stream.

Top

Methods

  Name Description
Public method Close The Close method closes the current stream and releases any resources (such as sockets and file handles) that are associated with the current stream.
Public method CopyOuterContentTo The CopyOuterContentTo method copies a whole MIME part, both headers and content, into stream.
Public method Dispose() The Dispose method releases the resources that are used by the MimeReader.
Protected method Dispose(Boolean) The Dispose method Releases the unmanaged resources used by the MimeReader and optionally releases the managed resources.
Public method EnableReadingUnparsedHeaders The EnableReadingUnparsedHeaders method makes the unparsed headers available for reading.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetContentReadStream The GetContentReadStream method returns a stream that contains the content of the current part body.
Public method GetEmbeddedMessageReader The GetEmbeddedMessageReader method returns a MimeReader object for an embedded message.
Public method GetHashCode (Inherited from Object.)
Public method GetRawContentReadStream The GetRawContentReadStream method returns a stream that contains the content of the current part body.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ReadContent The ReadContent method reads at most count bytes into buffer, starting at offset bytes.
Public method ReadFirstChildPart The ReadFirstChildPart method moves to the start of the first child part within the current part.
Public method ReadHeaders The ReadHeaders method moves to the beginning of the current part, which allows for the reading of the headers for the current part.
Public method ReadNextPart The ReadNextPart method moves to the next part in the MIME source stream.
Public method ReadNextSiblingPart The ReadNextSiblingPart method moves the current position to the next sibling of the current part.
Public method ReadRawContent The ReadRawContent method reads at most count bytes into buffer, without decoding them, starting at offset bytes.
Public method ResetComplianceStatus The ResetComplianceStatus method resets the MimeComplianceStatus of the reader to Compliant.
Public method ToString (Inherited from Object.)
Public method TryGetContentReadStream The TryGetContentReadStream method gets a stream that contains the content of the current part body.

Top