Table of Contents

Method GetStats

Namespace
OBSStudioClient
Assembly
OBSClient.dll

GetStats(CancellationToken)

Gets statistics about OBS, obs-websocket, and the current session.

public Task<StatsResponse> GetStats(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<StatsResponse>

A StatsResponse with the response data.