MimeReader Members
The MimeReader class returns information about a MIME stream.
The following tables list the members exposed by the MimeReader type.
Public Constructors
Name | Description | |
---|---|---|
MimeReader | Overloaded. The MimeReader constructor overloads create new MimeReader objects. |
Top
Public 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
Public Methods
(see also Protected 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 | Overloaded. The Dispose overload releases the resources that are used by the MimeReader. | |
EnableReadingUnparsedHeaders | The EnableReadingUnparsedHeaders method makes the unparsed headers available for reading. | |
Equals | Overloaded. (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 ) | |
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. | |
ReferenceEquals | (inherited from Object ) | |
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
Protected Methods
Name | Description | |
---|---|---|
Dispose | Overloaded. | |
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) |
Top