System.Net.Mime Namespace
.NET Framework 3.0
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 | |
|---|---|---|
![]() | 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 e-mail attachment. |
![]() | MediaTypeNames | Specifies the media type information for an e-mail message attachment. |
![]() | MediaTypeNames.Application | Specifies the kind of application data in an e-mail message attachment. |
![]() | MediaTypeNames.Image | Specifies the type of image data in an e-mail message attachment. |
![]() | MediaTypeNames.Text | Specifies the type of text data in an e-mail message attachment. |
| Enumeration | Description | |
|---|---|---|
![]() | TransferEncoding | Specifies the Content-Transfer-Encoding header information for an e-mail message attachment. |
Community Additions
ADD
Show:

