BlobService.DownloadToAsync Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Overloads

DownloadToAsync(Blob, Stream) Downloads a blob to the specified destination.
DownloadToAsync(Blob, Stream, long, long) Downloads a range of bytes from the blob to the specified destination.

DownloadToAsync(Blob, Stream)

Downloads a blob to the specified destination.

public static Task DownloadToAsync(Blob blob, Stream destination)

Parameters

blob
Blob

The blob to download.

destination
System.IO.Stream

A System.IO.Stream to write the downloaded content to.

Returns

System.Threading.Tasks.Task

DownloadToAsync(Blob, Stream, long, long)

Downloads a range of bytes from the blob to the specified destination.

public static Task DownloadToAsync(Blob blob, Stream destination, long offset, long length)

Parameters

blob
Blob

The blob to download.

destination
System.IO.Stream

A System.IO.Stream to write the downloaded content to.

offset
long

The zero-based byte offset at which to start downloading.

length
long

The number of bytes to download.

Returns

System.Threading.Tasks.Task