Bewerken

Delen via


System.Net.Mime Namespace

Contains types that are used to represent Multipurpose Internet Mail Exchange (MIME) headers. These types are used with the types in the System.Net.Mail namespace to specify Content-Type, Content-Disposition, and Content-transfer-Encoding headers when using the SmtpClient class to send email.

Classes

ContentDisposition

Represents a MIME protocol Content-Disposition header.

ContentType

Represents a MIME protocol Content-Type header.

DispositionTypeNames

Supplies the strings used to specify the disposition type for an email attachment.

MediaTypeNames

Specifies the media type information for an email message attachment.

MediaTypeNames.Application

Specifies the kind of application data in an email message attachment.

MediaTypeNames.Font

Specifies the kind of font data in an email message attachment.

MediaTypeNames.Image

Specifies the type of image data in an email message attachment.

MediaTypeNames.Multipart

Specifies the kind of multipart data in an email message attachment.

MediaTypeNames.Text

Specifies the type of text data in an email message attachment.

Enums

TransferEncoding

Specifies the Content-Transfer-Encoding header information for an email message attachment.

Remarks

MIME data is represented by the Attachment class.