Click or drag to resize

FolderSchemeHandlerFactory Constructor

Version 112.3.0
Initialize a new instance of FolderSchemeHandlerFactory

Namespace:  CefSharp.SchemeHandler
Assembly:  CefSharp (in CefSharp.dll) Version: 112.3.0.0 (112.3.0.0)
Syntax
public FolderSchemeHandlerFactory(
	string rootFolder,
	string schemeName = null,
	string hostName = null,
	string defaultPage = "index.html",
	FileShare resourceFileShare = FileShare.Read
)

Parameters

rootFolder
Type: SystemString
Root Folder where all your files exist, requests cannot be made outside of this folder
schemeName (Optional)
Type: SystemString
if not null then schemeName checking will be implemented
hostName (Optional)
Type: SystemString
if not null then hostName checking will be implemented
defaultPage (Optional)
Type: SystemString
default page if no page specified, defaults to index.html
resourceFileShare (Optional)
Type: System.IOFileShare
file share mode used to open resources, defaults to FileShare.Read
See Also