Export (0) Print
Expand All
0 out of 7 rated this helpful - Rate this topic

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.