Table of Contents

Method GetProfileParameter

Namespace
OBSStudioClient
Assembly
OBSClient.dll

GetProfileParameter(string, string, CancellationToken)

Gets a parameter from the current profile's configuration.

public Task<ProfileParameterResponse> GetProfileParameter(string parameterCategory, string parameterName, CancellationToken cancellationToken = default)

Parameters

parameterCategory string

Category of the parameter to get.

parameterName string

Name of the parameter to get.

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<ProfileParameterResponse>

A ProfileParameterResponse with the response data.