TargetClientAttachToTargetAsync Method  | 
Version 89.0.170 
            Attaches to the target with given id.
            
 
    Namespace: 
   CefSharp.DevTools.Target
    Assembly:
   CefSharp (in CefSharp.dll) Version: 89.0.170.0 (89.0.170.0)
Syntaxpublic Task<AttachToTargetResponse> AttachToTargetAsync(
	string targetId,
	Nullable<bool> flatten = null
)
public:
Task<AttachToTargetResponse^>^ AttachToTargetAsync(
	String^ targetId, 
	Nullable<bool> flatten = nullptr
)
Parameters
- targetId
 - Type: SystemString
targetId - flatten (Optional)
 - Type: SystemNullableBoolean
Enables "flat" access to the session via specifying sessionId attribute in the commands.We plan to make this the default, deprecate non-flattened mode,and eventually retire it. See crbug.com/991325. 
Return Value
Type: 
TaskAttachToTargetResponsereturns System.Threading.Tasks.Task<AttachToTargetResponse>
See Also