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

            return(await new HttpClient().GetByteArrayAsync(url));
        }