Click or drag to resize

ResourceHandlerGetMimeType Method

Version 130.1.90
Gets the MIME type of the content.

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax
public static string GetMimeType(
	string extension
)

Parameters

extension  String
The extension.

Return Value

String
System.String.
Exceptions
ExceptionCondition
ArgumentNullExceptionextension
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