I\'m trying to consume a WCF service:
The config of the service is:
As @Paciv noted in a comment, you can do this through code. Set them with the property ClientCredentials.Windows, something like this:
_client.ClientCredentials.Windows.ClientCredential.Domain = "warzone42";
_client.ClientCredentials.Windows.ClientCredential.UserName = "user1428798";
_client.ClientCredentials.Windows.ClientCredential.Password = "p@ssw0rd";
Setting the credentials in code is of course unwise. If you don't set the Windows user programmatically as above, I believe the credentials from the user running the client are sent accross (which is perhaps a more typical situation?).
Note that if you're setting credentials in code you may in fact be looking for UserName authentication.