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
parameterCategorystringCategory of the parameter to get.
parameterNamestringName of the parameter to get.
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.
Returns
- Task<ProfileParameterResponse>
A ProfileParameterResponse with the response data.