Image source URI requiring authorization

后端 未结 3 1450
陌清茗
陌清茗 2021-01-26 10:57

On my WPF Window I have an Image whose UriSource is set to the URL of some image on the internet.


    

        
3条回答
  •  一向
    一向 (楼主)
    2021-01-26 11:13

    Do you have the username and password for the resource? You can specify the domain name like this if it's just standard HTTP auth:

    http://username:password@tinyurl.com/anmucph
    

提交回复
热议问题