Mime4.net Home | Community Edition | Order | Usage examples | Feedback
ContentTypeField GetMimeType Method MIME4NET Class Library Documentation
Gets the MIME type defined in the child's Content-Type field or derives a MIME type from the parent if child is null or hasn't got a MIME type value set. If child's MIME type is multipart but no boundary has been set the MIME type of child will be derived from the parent.

Namespace: NI.Email.Mime.Field
Assembly: NI.Email.Mime (in NI.Email.Mime.dll) Version: 1.8.5168.22709

public static string GetMimeType(
	ContentTypeField child,
	ContentTypeField parent

Return Value

Type: String
the MIME type.
See Also