public void ListAlbumContent() { ListMediaItemResponse mediaItemResponse = this.googlePhotosClient.ListAlbumContents(); foreach (MediaItems photo in mediaItemResponse.MediaItems) { MediaItems allPhotos = googlePhotosClient.GetAlbumContent(photo.Id); allGPhotos = photo.productUrl; break; } }
public void ListAlbumContent() { ListMediaItemResponse mediaItemResponse = this.googlePhotosClient.ListAlbumContents(); foreach (MediaItems photo in mediaItemResponse.MediaItems) { MediaItems allPhotos = this.googlePhotosClient.GetAlbumContent(photo.Id); //gPhotos.Add(allPhotos.productUrl); gPhotos = allPhotos.BaseUrl; allGPhotos.Add(gPhotos); Program.PhotoDetails.allGPhotos = allGPhotos; } }