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
parameterCategorystringCategory of the parameter to set.
parameterNamestringName of the parameter to set.
parameterValuestringValue of the parameter to set. Use
nullto delete.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.