Method SaveAsync
SaveAsync(string, CancellationToken)
Saves the file, replacing it atomically and creating the directory if needed.
public Task SaveAsync(string path, CancellationToken cancellationToken = default)
Parameters
pathstringcancellationTokenCancellationToken