On my WPF Window
I have an Image
whose UriSource
is set to the URL of some image on the internet.
This can't be done with the tools built into WPF.
An alternative would be to create a lightweight and local HTTP proxy that has a single
GET http://localhost:####/proxy?uri={uri}&authorization={authorization}
operation (where port #### is behind firewall) that in turn makes a
GET {uri}
request with the supplied authorization header value.
You could then set UriSource
to http://localhost:####/proxy?uri=X&authorization=Y
where X
is the URI-encoded URI of the secured resource you want to show and Y
is the URI-encoded authorization header to send with the GET
request.