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
profileNamestringName for the new profile.
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.