public override async Task <byte[]> GetThumbnailVersionAsync() { return(await new HttpClient().GetByteArrayAsync( PictureUrlResolver.ResolveUrl(PictureId, ThumbnailSize, ThumbnailSize))); }
public override async Task <byte[]> GetLargestVersionAsync() { var url = PictureUrlResolver.ResolveUrl(PictureId, FullSize, FullSize); return(await new HttpClient().GetByteArrayAsync(url)); }