Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

HttpClient and Image Control Source

$
0
0

Hi,

I am developing a WPF application which consumes REST API using HttpClient. I want to list all the users and their images in listbox.

there are separate API for getting profile image (GET method) which also requres some authentication & specific request headers for session handling. 

How can I bind the GET API url directly in <Image Source="<GET API>"/>. How can I use the same cookies used by the HttpClient connection to bing the image API url?


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>