Click or drag to resize

EmulationClientSetCPUThrottlingRateAsync Method

Version 118.6.80
Enables CPU throttling to emulate slow CPUs.

Namespace:  CefSharp.DevTools.Emulation
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version: 118.6.80.0
Syntax
public Task<DevToolsMethodResponse> SetCPUThrottlingRateAsync(
	double rate
)

Parameters

rate
Type: SystemDouble
Throttling rate as a slowdown factor (1 is no throttle, 2 is 2x slowdown, etc).

Return Value

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