BrowserClientGetWindowForTargetAsync Method  | 
Version 106.0.290 
            Get the browser window that contains the devtools target.
            
 
    Namespace: 
   CefSharp.DevTools.Browser
    Assembly:
   CefSharp (in CefSharp.dll) Version: 106.0.290.0 (106.0.290.0)
Syntaxpublic Task<GetWindowForTargetResponse> GetWindowForTargetAsync(
	string targetId = null
)
public:
Task<GetWindowForTargetResponse^>^ GetWindowForTargetAsync(
	String^ targetId = nullptr
)
Parameters
- targetId (Optional)
 - Type: SystemString
Devtools agent host id. If called as a part of the session, associated targetId is used. 
Return Value
Type: 
TaskGetWindowForTargetResponsereturns System.Threading.Tasks.Task<GetWindowForTargetResponse>
See Also