FolderSchemeHandlerFactory Constructor |
Version 130.1.90
Initialize a new instance of FolderSchemeHandlerFactory
Namespace: CefSharp.SchemeHandlerAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.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 String
- Root Folder where all your files exist, requests cannot be made outside of this folder
- schemeName String (Optional)
- if not null then schemeName checking will be implemented
- hostName String (Optional)
- if not null then hostName checking will be implemented
- defaultPage String (Optional)
- default page if no page specified, defaults to index.html
- resourceFileShare FileShare (Optional)
- file share mode used to open resources, defaults to FileShare.Read
See Also