C# HttpClient - How to use basic authentication and set the HTTP authorization header
Basic authentication is becoming a rare sight, however it is still quite widely used due to its simplicity. In C#, using the HttpClient and HttpRequestMessage you »