Click or drag to resize
MimeKit

ContentTypeMediaType Property

Get or set the type of the media.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntax
C#
public string MediaType { get; set; }

Property Value

String
The type of the media.
Exceptions
ExceptionCondition
ArgumentNullExceptionvalue is .
Remarks
Represents the media type of the MimeEntity. Examples include "text", "image", and "application". This string should always be treated as case-insensitive.
See Also