Error 401 in C#
问题 I'm working on my first app for Windows 8 but I have a problem, when I'm launch my app, I've got the error "Response status code does not indicate success: 401 (Authorization Required) So yes, I need to include username and password but I don't know where in my code: var fond = new HttpClient(); var reponse = await fond.GetStreamAsync("http://example.com/search/mario%20kart" + TitleNewsGrid.Text); So where I'm include the username and password in the code? 回答1: There should be a Credentials