Click or drag to resize

CefGetMimeType Method

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