Represents a MIME entity. Defined in RFC 2045 2.4.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public class MIME_Entity : IDisposable
Public Class MIME_Entity Implements IDisposable
public ref class MIME_Entity : IDisposable
type MIME_Entity = class interface IDisposable end
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
MIME_Entity()()()() |
Default constructor.
| |
Body |
Gets or sets MIME entity body.
| |
ContentAlternative |
Gets or sets message alternative content. Value null means that header field does not exist.
| |
ContentBase |
Gets or sets base to be used for resolving relative URIs within this content part. Value null means that header field does not exist.
| |
ContentDescription |
Gets or sets description of message body part. Value null means that header field does not exist. Defined in RFC 2045 8.
| |
ContentDisposition |
Gets or sets content disposition. Value null means that header field does not exist.
| |
ContentDuration |
Gets or sets time duration of content. Value null means that header field does not exist.
| |
Contentfeatures |
Gets or sets content features of a MIME body part. Value null means that header field does not exist.
| |
ContentID |
Gets or sets content body part ID. Value null means that header field does not exist. Defined in RFC 2045 7.
| |
ContentLanguage |
Gets or sets language of message content. Value null means that header field does not exist.
| |
ContentLocation |
Gets or sets URI for retrieving a body part. Value null means that header field does not exist.
| |
ContentMD5 |
Gets or sets content MD5 checksum. Value null means that header field does not exist.
| |
ContentTransferEncoding |
Gets or sets content transfer encoding. Value null means that header field does not exist.
RFC defined values are in MIME_TransferEncodings. Defined in RFC 2045 6.
| |
ContentType |
Gets or sets MIME content type. Value null means that header field does not exist. Defined in RFC 2045 5.
| |
CreateEntity_Attachment(String) |
Creates attachment(application/octet-stream) entity.
| |
CreateEntity_Attachment(String, String) |
Creates attachment(application/octet-stream) entity.
| |
CreateEntity_Attachment(String, Stream) |
Creates attachment(application/octet-stream) entity.
| |
CreateEntity_Text_Html(String, Encoding, String) |
Creates text/html MIME entity.
| |
CreateEntity_Text_Plain(String, Encoding, String) |
Creates text/plain MIME entity.
| |
DataToByte()()()() |
Returns body data as byte[]. Note: This method is available for single part entities only.
| |
DataToFile(String) |
Stores body decoded-data to the specified file. Note: This method is available for single part entities only.
| |
DataToStream(Stream) |
Stores body decoded-data to the specified stream. Note: This method is available for single part entities only.
| |
Dispose()()()() |
Cleans up any resources being used. This method is thread-safe.
| |
Equals(Object) | (Inherited from Object.) | |
Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
Header |
Gets MIME entity header field collection.
| |
IsDisposed |
Gets if this object is disposed.
| |
IsModified |
Gets if this entity is modified since it has loaded.
| |
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MimeVersion |
Gets or sets MIME version number. Value null means that header field does not exist. Normally this value is 1.0. Defined in RFC 2045 section 4.
| |
Parent |
Gets the parent entity of this entity, returns null if this is the root entity.
| |
Parse(SmartStream, Encoding, MIME_h_ContentType) |
Parses MIME entiry from the specified stream.
| |
ToByte(MIME_Encoding_EncodedWord, Encoding) |
Returns MIME entity as byte[].
| |
ToByte(MIME_Encoding_EncodedWord, Encoding, Boolean) |
Returns MIME entity as byte[].
| |
ToFile(String, MIME_Encoding_EncodedWord, Encoding) |
Stores MIME entity to the specified file.
| |
ToFile(String, MIME_Encoding_EncodedWord, Encoding, Boolean) |
Stores MIME entity to the specified file.
| |
ToStream(Stream, MIME_Encoding_EncodedWord, Encoding) |
Store MIME enity to the specified stream.
| |
ToStream(Stream, MIME_Encoding_EncodedWord, Encoding, Boolean) |
Store MIME enity to the specified stream.
| |
ToString()()()() |
Returns MIME entity as string.
(Overrides Object.ToString()()()().) | |
ToString(MIME_Encoding_EncodedWord, Encoding) |
Returns MIME entity as string.
| |
ToString(MIME_Encoding_EncodedWord, Encoding, Boolean) |
Returns MIME entity as string.
|
Inheritance Hierarchy
Object | ||
MIME_Entity | ||
MIME_Message |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119