public async Task<byte[]> LoadBlobBytesAsync(Uri location) { var blob = new CloudBlob (location); await blob.FetchAttributesAsync (); byte[] target = new byte[blob.Properties.Length]; await blob.DownloadToByteArrayAsync (target, 0); return target; }
public async Task<byte[]> LoadBlobBytesAsync(Uri location) { var blob = new CloudBlob (location); await blob.FetchAttributesAsync (); byte[] target = new byte[blob.Properties.Length]; await blob.DownloadToByteArrayAsync (target, 0); return target; }