Click or drag to resize

CefGetMimeType Method

Version 91.1.160
Returns the mime type for the specified file extension or an empty string if unknown.

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

Parameters

extension
Type: SystemString
file extension

Return Value

Type: String
Returns the mime type for the specified file extension or an empty string if unknown.
See Also