Click or drag to resize

CefGetMimeType Method

Version 88.2.90
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: 88.2.90.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