Table of Contents

Method ToMimeType

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

ToMimeType(MediaFormat)

Detects the mime type.

public static string ToMimeType(this MediaFormat format)

Parameters

format MediaFormat

The media format

Returns

string

The mime type.

Exceptions

InvalidOperationException