SyntaxFix
Write A Post
Hire A Developer
Questions
You can configure HttpClient to automatically pass credentials like this:
HttpClient
var myClient = new HttpClient(new HttpClientHandler() { UseDefaultCredentials = true });