Click or drag to resize

CefGetMimeType Method

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