FolderSchemeHandlerFactory Constructor |
Version 109.1.110
Initialize a new instance of FolderSchemeHandlerFactory
Namespace:
CefSharp.SchemeHandler
Assembly:
CefSharp (in CefSharp.dll) Version: 109.1.110.0 (109.1.110.0)
Syntax public FolderSchemeHandlerFactory(
string rootFolder,
string schemeName = null,
string hostName = null,
string defaultPage = "index.html",
FileShare resourceFileShare = FileShare.Read
)
public:
FolderSchemeHandlerFactory(
String^ rootFolder,
String^ schemeName = nullptr,
String^ hostName = nullptr,
String^ defaultPage = L"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