Method SaveAsync
- Namespace
- OBSStudioClient.Model
- Assembly
- OBSClient.dll
SaveAsync(string, CancellationToken)
Writes the screenshot to a file.
public Task SaveAsync(string path, CancellationToken cancellationToken = default)
Parameters
pathstringThe path of the file.
cancellationTokenCancellationTokenA token that ends the writing.
Returns
- Task
A task that completes when the file is written.