I want to call windows authenticated API using HTTP client. I tried with below approaches
var httpClient = new HttpClient(new HttpClientHandler()
{
UseDefaultCredentials = true
});
var httpClient = new HttpClient(new HttpClientHandler()
{
Credentials = CredentialCache.DefaultNetworkCredentials
});
Both are not working.
Is there any alternative using HTTP Client