随笔分类 - wcf
摘要:1 class PermissiveCertificatePolicy 2 { 3 string subjectName; 4 static PermissiveCertificatePolicy currentPolicy; 5 PermissiveCertificatePolicy(string subjectName) 6 { 7 this.subjectName = subjectName; 8 ServicePointManager.ServerCertifi...
阅读全文
摘要:----------------------源代码static void Main() { // WARNING: This code is only needed for test certificates such as those created by makecert. It is // not recommended for production code. PermissiveCertificatePolicy.Enact("CN = WIN-85QBE2LGCIQ"); // Create a client with given client endpoint
阅读全文

浙公网安备 33010602011771号