Click or drag to resize

ResourceHandlerGetMimeType Method

Version 85.3.121

Note: This API is now obsolete.

Gets the MIME type of the content.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 85.3.121.0 (85.3.121.0)
Syntax
[ObsoleteAttribute("This method is deprecated and will be removed use Cef.GetMimeType(extension); instead. See https://github.com/cefsharp/CefSharp/issues/3041 for details.")]
public static string GetMimeType(
	string extension
)

Parameters

extension
Type: SystemString
The extension.

Return Value

Type: String
System.String.
Exceptions
ExceptionCondition
ArgumentNullExceptionextension
See Also