Click or drag to resize
ResourceHandlerFromFileName Method
Version 57.0.0

Note: This API is now obsolete.

Gets the resource from the file.

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 57.0.0.0 (57.0.0.0)
Syntax
[ObsoleteAttribute("Use FromFilePath instead - to get the mimeType use the GetMimeType helper method")]
public static ResourceHandler FromFileName(
	string filePath,
	string fileExtension = null
)

Parameters

filePath
Type: SystemString
Location of the file.
fileExtension (Optional)
Type: SystemString
The file extension.

Return Value

Type: ResourceHandler
ResourceHandler.
See Also