Table of Contents

Method DownloadFileAsync

Namespace
PowerSync.Common.Attachments
Assembly
PowerSync.Common.dll

DownloadFileAsync(Attachment)

Downloads a file from remote storage as a stream.

Task<Stream> DownloadFileAsync(Attachment attachment)

Parameters

attachment Attachment

The attachment describing the file to download.

Returns

Task<Stream>

A readable stream over the downloaded file's contents.

Remarks

The caller disposes the returned stream.