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
profileNamestringName of the profile to remove.
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.