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 | |
---|---|---|
![]() |
MimeReader(Stream) | The MimeReader constructor creates a new MimeReader object. |
![]() |
MimeReader(Stream, Boolean, DecodingOptions, MimeLimits) | The MimeReader constructor creates a new MimeReader object. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
ComplianceStatus | The ComplianceStatus property indicates which errors were found in the incoming MIME document or that the MIME document is compliant. |
![]() |
ContentType | The ContentType property gets the content type of the current part. |
![]() |
EmbeddedDepth | The EmbeddedDepth property gets an integer that represents the depth to which the current message is embedded. |
![]() |
HeaderDecodingOptions | The HeaderDecodingOptions property gets a DecodingOptions structure that specifies how to decode incoming headers. |
![]() |
HeaderReader | The HeaderReader property gets a MimeHeaderReader structure that returns information about the headers in this MimeReader object. |
![]() |
InlineFileName | The InlineFileName property gets the name of an inline file attachment. |
![]() |
IsEmbeddedMessage | The IsEmbeddedMessage property gets a Boolean value indicates whether the current message is embedded at least one level deep in another message. |
![]() |
IsInline | The IsInline property gets a Boolean value that indicates whether the current part is an inline attachment. |
![]() |
IsMultipart | The IsMultipart property gets a Boolean value that indicates whether the current MIME part is simple or multipart. |
![]() |
MimeLimits | The MimeLimits property gets a MimeLimits object that controls the complexity that this MimeReader object will allow. |
![]() |
PartDepth | The PartDepth parameter gets an integer that represents the depth of nesting of the current MIME part. |
![]() |
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 | |
---|---|---|
![]() |
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. |
![]() |
CopyOuterContentTo | The CopyOuterContentTo method copies a whole MIME part, both headers and content, into stream. |
![]() |
Dispose() | The Dispose method releases the resources that are used by the MimeReader. |
![]() |
Dispose(Boolean) | The Dispose method Releases the unmanaged resources used by the MimeReader and optionally releases the managed resources. |
![]() |
EnableReadingUnparsedHeaders | The EnableReadingUnparsedHeaders method makes the unparsed headers available for reading. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetContentReadStream | The GetContentReadStream method returns a stream that contains the content of the current part body. |
![]() |
GetEmbeddedMessageReader | The GetEmbeddedMessageReader method returns a MimeReader object for an embedded message. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetRawContentReadStream | The GetRawContentReadStream method returns a stream that contains the content of the current part body. |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ReadContent | The ReadContent method reads at most count bytes into buffer, starting at offset bytes. |
![]() |
ReadFirstChildPart | The ReadFirstChildPart method moves to the start of the first child part within the current part. |
![]() |
ReadHeaders | The ReadHeaders method moves to the beginning of the current part, which allows for the reading of the headers for the current part. |
![]() |
ReadNextPart | The ReadNextPart method moves to the next part in the MIME source stream. |
![]() |
ReadNextSiblingPart | The ReadNextSiblingPart method moves the current position to the next sibling of the current part. |
![]() |
ReadRawContent | The ReadRawContent method reads at most count bytes into buffer, without decoding them, starting at offset bytes. |
![]() |
ResetComplianceStatus | The ResetComplianceStatus method resets the MimeComplianceStatus of the reader to Compliant. |
![]() |
ToString | (Inherited from Object.) |
![]() |
TryGetContentReadStream | The TryGetContentReadStream method gets a stream that contains the content of the current part body. |
Top