Table of Contents

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

cancellationToken CancellationToken

A 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

Task<string[]>

Array of hotkey names.

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.