Export (0) Print
Expand All

System.Net.Mime Namespace

The System.Net.Mime namespace holds 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 e-mail.

MIME data is represented by the Attachment class.

  Class Description
Public class ContentDisposition Represents a MIME protocol Content-Disposition header.
Public class ContentType Represents a MIME protocol Content-Type header.
Public class DispositionTypeNames Supplies the strings used to specify the disposition type for an e-mail attachment.
Public class MediaTypeNames Specifies the media type information for an e-mail message attachment.
Public class MediaTypeNames.Application Specifies the kind of application data in an e-mail message attachment.
Public class MediaTypeNames.Image Specifies the type of image data in an e-mail message attachment.
Public class MediaTypeNames.Text Specifies the type of text data in an e-mail message attachment.

  Enumeration Description
Public enumeration TransferEncoding Specifies the Content-Transfer-Encoding header information for an e-mail message attachment.
Show:
© 2014 Microsoft