Table of Contents

Method RemoveProfile

Namespace
OBSStudioClient
Assembly
OBSClient.dll

RemoveProfile(string, CancellationToken)

Removes a profile. If the current profile is chosen, it will change to a different profile first.

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

Parameters

profileName string

Name of the profile to remove.

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