TargetClientSetDiscoverTargetsAsync Method |
Version 104.4.240
Controls whether to discover available targets and notify via
`targetCreated/targetInfoChanged/targetDestroyed` events.
Namespace:
CefSharp.DevTools.Target
Assembly:
CefSharp (in CefSharp.dll) Version: 104.4.240.0 (104.4.240.0)
Syntax public Task<DevToolsMethodResponse> SetDiscoverTargetsAsync(
bool discover
)
public:
Task<DevToolsMethodResponse^>^ SetDiscoverTargetsAsync(
bool discover
)
Parameters
- discover
- Type: SystemBoolean
Whether to discover available targets.
Return Value
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also