Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

System.Net.Mime Namespace

Note: This namespace is new in the .NET Framework version 2.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.

 ClassDescription
Public classContentDispositionRepresents a MIME protocol Content-Disposition header.
Public classContentTypeRepresents a MIME protocol Content-Type header.
Public classDispositionTypeNamesSupplies the strings used to specify the disposition type for an e-mail attachment.
Public classMediaTypeNamesSpecifies the media type information for an e-mail message attachment.
Public classMediaTypeNames.ApplicationSpecifies the kind of application data in an e-mail message attachment.
Public classMediaTypeNames.ImageSpecifies the type of image data in an e-mail message attachment.
Public classMediaTypeNames.TextSpecifies the type of text data in an e-mail message attachment.

 EnumerationDescription
Public enumerationTransferEncodingSpecifies the Content-Transfer-Encoding header information for an e-mail message attachment.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft