Click or drag to resize

MimeData Methods

The MimeData type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEstimateTransportSize
Gets the estimated transport size of this MIME entity. Bases on assumption that Base64, UUE and XUUE encoded files are 37% bigger in transport.
(Overrides MimeBaseEstimateTransportSize.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetMemoryStream
Creates new MemoryStream for accessing Data property.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoadFromFile
Uploads data from specified file into this MimeData entity. This method always resets FileName property.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRender
Renders this MIME object.
(Inherited from MimeBase.)
Public methodSave(Stream)
Writes Data to specified stream. Stream must be open.
Public methodSave(String)
Creates a new file with the specified name and saves Data into it.
Public methodSetFileName
Sets the FileName and ContentType value if requested.
Public methodToString
Returns content-type of this MIME object.
(Inherited from MimeBase.)
Top
See Also