How to use credentials in HttpClient in c#?

前端 未结 3 909
滥情空心
滥情空心 2020-12-06 09:38

I am facing some problems when using the HttpClient class to access to a Delicious API. I have the following code:

try
{
    const string uriSources = \"http         


        
3条回答
  •  庸人自扰
    2020-12-06 10:11

    This is an old post but thought to add my reply for someone facing similar issue and browsing answers...

    I faced similar issue. In my case, setting Domain property for NetworkCredentials worked. You can try setting Domain.

提交回复
热议问题