EmulationClientSetCPUThrottlingRateAsync Method |
Version 130.1.90
Enables CPU throttling to emulate slow CPUs.
Namespace: CefSharp.DevTools.EmulationAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<DevToolsMethodResponse> SetCPUThrottlingRateAsync(
double rate
)
public:
Task<DevToolsMethodResponse^>^ SetCPUThrottlingRateAsync(
double rate
)
Parameters
- rate Double
- Throttling rate as a slowdown factor (1 is no throttle, 2 is 2x slowdown, etc).
Return Value
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also