Click or drag to resize

MimeData Properties

The MimeData type exposes the following members.

Properties
  NameDescription
Public propertyContentDisposition
'Content-Disposition' of the data. This object provides information on what you should do with the data.
(Inherited from MimeBase.)
Public propertyContentId
Content-ID of this entity. Without enclosing '<' and '>'. You can use ContentIdHelper to extract content id from cid url.
(Inherited from MimeBase.)
Public propertyContentLocation
Content location of this mime entity.
(Inherited from MimeBase.)
Public propertyContentTransferEncoding
Gets or sets 'Content-Transfer-Encoding' of the data. This object provides information on how the data was encoded for transport purposes. Please remember that setting Data may override content transfer encoding.
Public propertyContentType
Content type of the body.
(Inherited from MimeBase.)
Public propertyContentTypeHeader
Represents 'Content-type' header. You can use this class to add additional options to content-type header. Use ContentType to get or set content-type only.
(Inherited from MimeBase.)
Public propertyData
Gets or sets byte array contained in this MIME object. When set, ContentTransferEncoding is updated using the most appropriate MimeEncoding value.
Public propertyFileName
Gets or sets suggested file name (FileName or IContentTypeHeader["name"]). May be null or empty. Consider using SafeFileName as it is guaranteed to contain valid file name.
Public propertyHasContentType
Gets boolean value indicating, if content-type is explicitly set on this entity.
(Inherited from MimeBase.)
Public propertyHasFileName
Gets a boolean value indicating if FileName is set.
Public propertyHeaders
MIME headers collection.
(Inherited from MimeBase.)
Public propertySafeFileName
Gets suggested file name. All special characters and path are removed. If the FileName is not specified (HasFileName is false) generates random file name in format "att_d1be267b623941159a159158138a636e" and uses ContentType to establish correct extension.
Public propertySize
Gets the size of data contained in this MIME object.
Public propertyXApple2Mime
Gets X-Apple2Mime header value. This header is added by Apple to MIME extractor. True means that this entity was extracted from ApplicationAppleFile or MultipartAppleDouble entity.
Public propertyXBinHex2Mime
Gets X-BinHex2Mime header value. This header is added by BinHex to MIME extractor. True means that this entity was extracted from MimeBinHex.
Public propertyXRtfRenderingPosition
Gets X-Rtf-RenderingPosition header value. This header is filled by TNEF to MIME with PR_RENDERING_POSITION MAPI value or by MSG to MIME parser. It indicates where in the message text the attachment should be rendered (in characters).
Public propertyXTnef2Mime
Gets X-Tnef2Mime header value. This header is added by TNEF to MIME parser. True means that this entity was extracted from ApplicationMsTnef.
Public propertyXTnef2MimeRenderingPosition Obsolete.
Gets X-Tnef2Mime-RenderingPosition header value. This header is filled by TNEF to MIME parser with PR_RENDERING_POSITION MAPI value. It indicates where in the message text the attachment should be rendered (in characters).
Public propertyXUue2Mime
Gets X-Uue2Mime header value. This header is added by UUE to MIME extractor. True means that this entity was extracted from Text.
Top
See Also