WPF default credentials

I am trying to access a .net 2.0 webservice from WPF. I have generated a proxy using Visual Studio and also a proxy account for the default credentials.

I am getting 401 Unauthorized when accessing the webservice. When I infer the username from the default credentials it is empty, am I missing something?

+1


source to share


1 answer


found a solution to my problem,



{proxy} .UseDefaultCredentials = true; It works after setting this icon to true

+2


source







All Articles