Table of Contents

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

path string

The path of the file.

cancellationToken CancellationToken

A token that ends the writing.

Returns

Task

A task that completes when the file is written.