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.7.1
Syntax
C#
public string MediaType { get; set; }

Property Value

String
The type of the media.
Exceptions
ExceptionCondition
ArgumentNullExceptionvalue is null.
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