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

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