• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class MimeEntity

Base class for a MIME entity (RFC 2045 §2.4). A node in the body tree of a message.

Inheritance
object
MimeEntity
MessagePart
MimePart
Multipart
TextPart
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Mail.Rfc.Mime
Assembly: DRIT.Mail.dll
Syntax
public abstract class MimeEntity

Constructors

View Source

MimeEntity(MimeHeaderCollection, ContentType, ContentDisposition?, string?, ContentTransferEncoding)

Initializes a new instance of the MimeEntity class.

Declaration
protected MimeEntity(MimeHeaderCollection headers, ContentType contentType, ContentDisposition? contentDisposition, string? contentId, ContentTransferEncoding transferEncoding)
Parameters
Type Name Description
MimeHeaderCollection headers
ContentType contentType
ContentDisposition contentDisposition
string contentId
ContentTransferEncoding transferEncoding

Properties

View Source

ContentDisposition

Gets the Content-Disposition of this entity, or null if not specified.

Declaration
public ContentDisposition? ContentDisposition { get; }
Property Value
Type Description
ContentDisposition
View Source

ContentId

Gets the Content-ID of this entity, or null if not specified.

Declaration
public string? ContentId { get; }
Property Value
Type Description
string
View Source

ContentType

Gets the Content-Type of this entity.

Declaration
public ContentType ContentType { get; }
Property Value
Type Description
ContentType
View Source

Headers

Gets the headers of this entity.

Declaration
public MimeHeaderCollection Headers { get; }
Property Value
Type Description
MimeHeaderCollection
View Source

TransferEncoding

Gets the Content-Transfer-Encoding of this entity.

Declaration
public ContentTransferEncoding TransferEncoding { get; }
Property Value
Type Description
ContentTransferEncoding
  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX