Method GetHotkeyList
- Namespace
- OBSStudioClient
- Assembly
- OBSClient.dll
GetHotkeyList(CancellationToken)
Gets an array of all hotkey names in OBS.
public Task<string[]> GetHotkeyList(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token that ends the wait for the response, which makes the method throw an OperationCanceledException. A request that was already sent is not undone: OBS Studio may still carry it out.
Returns
Remarks
Note: Hotkey functionality in obs-websocket comes as-is, and we do not guarantee support if things are broken. In 9/10 usages of hotkey requests, there exists a better, more reliable method via other requests.