PageClientSetBypassCSPAsync Method |
Version 130.1.90
Enable page Content Security Policy by-passing.
Namespace: CefSharp.DevTools.PageAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<DevToolsMethodResponse> SetBypassCSPAsync(
bool enabled
)
public:
Task<DevToolsMethodResponse^>^ SetBypassCSPAsync(
bool enabled
)
Parameters
- enabled Boolean
- Whether to bypass page CSP.
Return Value
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also