Click or drag to resize

DOMClientSetFileInputFilesAsync Method

Version 86.0.240
Sets files for the given file input element.

Namespace:  CefSharp.DevTools.DOM
Assembly:  CefSharp (in CefSharp.dll) Version: 86.0.240.0 (86.0.240.0)
Syntax
public Task<DevToolsMethodResponse> SetFileInputFilesAsync(
	string[] files,
	Nullable<int> nodeId = null,
	Nullable<int> backendNodeId = null,
	string objectId = null
)

Parameters

files
Type: SystemString
Array of file paths to set.
nodeId (Optional)
Type: SystemNullableInt32
Identifier of the node.
backendNodeId (Optional)
Type: SystemNullableInt32
Identifier of the backend node.
objectId (Optional)
Type: SystemString
JavaScript object id of the node wrapper.

Return Value

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