Click or drag to resize
ResourceHandlerFromFilePath Method
Version 57.0.0
Gets the resource from the file path specified. Use the GetMimeType(String) helper method to lookup the mimeType if required.

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 57.0.0.0 (57.0.0.0)
Syntax
public static ResourceHandler FromFilePath(
	string fileName,
	string mimeType = null
)

Parameters

fileName
Type: SystemString
Location of the file.
mimeType (Optional)
Type: SystemString
The mimeType if null then text/html is used.

Return Value

Type: ResourceHandler
ResourceHandler.
See Also