Click or drag to resize

CefGetMimeType Method

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