首页新闻找找看学习计划

wcf 認證出錯

0
悬赏园豆:5 [待解决问题]

ServiceReference1.Service1Client client = new ServiceReference1.Service1Client();
client.ClientCredentials.UserName.UserName = "test";
client.ClientCredentials.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.None;
client.GetData(10);
Console.ReadLine();

為什么WCF證證的時候老是報錯

wcf
wanghongxing的主页 wanghongxing | 初学一级 | 园豆:12
提问于:2018-11-07 16:16
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册