There is a web api that has SSO enabled. When I put the url in my webbrowser I don't have to specify a password and it returns the data. How can I do this same thing with C#? When I do it with the WebClient DownloadString() function I get an error of "unauthorized" back.
var client = new System.Net.WebClient();
var context = client.DownloadString(@"http://api_site.example.com/data?username=jdoe&report=test");