Mime |
The MimeBinHex type exposes the following members.
| Name | Description | |
|---|---|---|
| AlternativeKey |
Gets the key that allows to recognize same content in Visuals collection.
All parts under the same MultipartAlternative are assigned the same key.
(Inherited from MimeBase) | |
| BinHex | Gets BinHex data stored in this MIME entity. | |
| ContentDisposition |
'Content-Disposition' of the data.
This object provides information on what you should do with the data.
(Inherited from MimeBase) | |
| ContentId |
Content-ID of this entity. Without enclosing '<' and '>'.
You can use ContentIdHelper to extract content id from cid url.
(Inherited from MimeBase) | |
| ContentLocation |
Content location of this mime entity.
(Inherited from MimeBase) | |
| ContentTransferEncoding |
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.
(Inherited from MimeData) | |
| ContentType |
Content type of the body.
(Inherited from MimeBase) | |
| ContentTypeHeader |
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) | |
| Data |
Gets or sets byte array contained in this MIME object.
When set, ContentTransferEncoding is updated using the most appropriate MimeEncoding value.
(Inherited from MimeData) | |
| FileName |
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.
(Inherited from MimeData) | |
| HasContentType |
Gets boolean value indicating, if content-type is explicitly set on this entity.
(Inherited from MimeBase) | |
| HasFileName |
Gets a boolean value indicating if FileName is set.
(Inherited from MimeData) | |
| Headers |
MIME headers collection.
(Inherited from MimeBase) | |
| SafeFileName |
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.
(Inherited from MimeData) | |
| Size |
Gets the size of data contained in this MIME object.
(Inherited from MimeData) | |
| XApple2Mime |
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.
(Inherited from MimeData) | |
| XBinHex2Mime |
Gets X-BinHex2Mime header value. This header is added by BinHex to MIME extractor.
True means that this entity was extracted from MimeBinHex.
(Inherited from MimeData) | |
| XRtfRenderingPosition |
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).
(Inherited from MimeData) | |
| XTnef2Mime |
Gets X-Tnef2Mime header value. This header is added by TNEF to MIME parser.
True means that this entity was extracted from ApplicationMsTnef.
(Inherited from MimeData) | |
| XTnef2MimeRenderingPosition |
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).
(Inherited from MimeData) Obsolete | |
| XUue2Mime |
Gets X-Uue2Mime header value. This header is added by UUE to MIME extractor.
True means that this entity was extracted from Text.
(Inherited from MimeData) |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| EstimateTransportSize |
Gets the estimated transport size of this MIME entity.
Bases on assumption that Base64, UUE and XUUE encoded files are 37% bigger in transport.
(Inherited from MimeData) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetMemoryStream |
Creates new MemoryStream for accessing Data property.
(Inherited from MimeData) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| LoadFromFile |
Uploads data from specified file into this MimeData entity.
This method always resets FileName property.
(Inherited from MimeData) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Render |
Renders this MIME object.
(Inherited from MimeBase) | |
| Save(Stream) |
Writes Data to specified stream. Stream must be open.
(Inherited from MimeData) | |
| Save(String) |
Creates a new file with the specified name and saves Data into it.
(Inherited from MimeData) | |
| SetFileName |
Sets the FileName and ContentType value if requested.
(Inherited from MimeData) | |
| ToString |
Returns content-type of this MIME object and file name if present.
(Inherited from MimeData) |