var client = new Service1Client(); client.ClientCredentials.ServiceCertificate.Authentication.CertificateValidationMode = System.ServiceModel.Security.X509CertificateValidationMode.None; client.ClientCredentials.UserName.UserName = "username"; client.ClientCredentials.UserName.Password = "password";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)