Table of Contents

Method SetProfileParameter

Namespace
OBSStudioClient
Assembly
OBSClient.dll

SetProfileParameter(string, string, string?, CancellationToken)

Sets the value of a parameter in the current profile's configuration.

public Task SetProfileParameter(string parameterCategory, string parameterName, string? parameterValue, CancellationToken cancellationToken = default)

Parameters

parameterCategory string

Category of the parameter to set.

parameterName string

Name of the parameter to set.

parameterValue string

Value of the parameter to set. Use null to delete.

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