MediaType Property
Gets the media type of the content.
Namespace
Statiq.Common
Containing Type
StreamContent
Implements
Property Type
string

Syntax

public string MediaType { get; }

Remarks

A registered IANA media type will be used if available. Unregistered media type names may be returned if a registered type is unavailable. If the media type is unknown this may null or empty.

Value

Type Description
string