smartClient = new SmartloadClient("SmartloadPort");
smartClient.ClientCredentials.ClientCertificate.SetCertificate(
StoreLocation.CurrentUser,
StoreName.TrustedPeople,
X509FindType.FindBySubjectName,
"27848803383");
smartClient.ClientCredentials.ServiceCertificate.SetDefaultCertificate ( StoreLocation.CurrentUser,
StoreName.TrustedPeople,
X509FindType.FindBySubjectName,
"SmartCallServices"); |