Click or drag to resize

TargetClientSetDiscoverTargetsAsync Method

Version 93.1.111
Controls whether to discover available targets and notify via `targetCreated/targetInfoChanged/targetDestroyed` events.

Namespace:  CefSharp.DevTools.Target
Assembly:  CefSharp (in CefSharp.dll) Version: 93.1.111.0 (93.1.111.0)
Syntax
public Task<DevToolsMethodResponse> SetDiscoverTargetsAsync(
	bool discover
)

Parameters

discover
Type: SystemBoolean
Whether to discover available targets.

Return Value

Type: TaskDevToolsMethodResponse
returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also