Table of Contents

Method CreateProfile

Namespace
OBSStudioClient
Assembly
OBSClient.dll

CreateProfile(string, CancellationToken)

Creates a new profile, switching to it in the process.

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

Parameters

profileName string

Name for the new profile.

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