ResourceHandler.GetMimeType Method (original) (raw)

ResourceHandlerGetMimeType Method

Version 118.6.80

Gets the MIME type of the content.

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)

Syntax

public static string GetMimeType( string extension )

public: static String^ GetMimeType( String^ extension )

Parameters

extension

Type: SystemString
The extension.

Return Value

Type: String
System.String.

Exceptions

Remarks

In most cases it's preferable to use Cef.GetMimeType(extension); instead. See https://github.com/cefsharp/CefSharp/issues/3041 for details.

See Also

Reference