A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cefsharp.github.io/api/118.6.x/html/M_CefSharp_ResourceHandler_FromFilePath.htm below:

ResourceHandlerFromFilePath Method Version 118.6.80

Gets the resource from the file path specified. Use the Cef.GetMimeType() helper method to lookup the mimeType if required. Uses CefStreamResourceHandler for reading the data

Namespace:  CefSharp
Assembly:

CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)

Syntax
public static IResourceHandler FromFilePath(
	string filePath,
	string mimeType = null,
	bool autoDisposeStream = false
)
public:
static IResourceHandler^ FromFilePath(
	String^ filePath, 
	String^ mimeType = nullptr, 
	bool autoDisposeStream = false
)
Parameters
filePath
Type: SystemString
Location of the file.
mimeType (Optional)
Type: SystemString
The mimeType if null then text/html is used.
autoDisposeStream (Optional)
Type: SystemBoolean
Dispose of the stream when finished with (you will only be able to serve one request).
Return Value

Type:

IResourceHandler

IResourceHandler.

See Also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4