Table of Contents

Method SetCurrentProfile

Namespace
OBSStudioClient
Assembly
OBSClient.dll

SetCurrentProfile(string, CancellationToken)

Switches to a profile.

public Task SetCurrentProfile(string profileName, CancellationToken cancellationToken = default)

Parameters

profileName string

Name of the profile to switch to.

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