How to set proxy with credentials to generated WCF client?
wcf
Solution
I'm not entirely sure if this is what you are looking for but here you go.
MyClient client = new MyClient();
client.ClientCredentials.UserName.UserName = "u";
client.ClientCredentials.UserName.Password = "p";
Problem
I have a problem to connect to my WCF service if customer is using proxy with credentials. I'm unable to find the way to set credential to generated client proxy. If I use the web service, then it is possible to set proxy.