自定义绑定和TransportWithMessageCredential

时间:2015-04-04 08:30:17

标签: c# wcf-binding

我有这个:

BasicHttpBinding myB = new BasicHttpBinding();
myB.Security.Mode = BasicHttpSecurityMode.TransportWithMessageCredential;
myB.Security.Message.ClientCredentialType = BasicHttpMessageCredentialType.Certificate;
myB.Security.Transport.ClientCredentialType = HttpClientCredentialType.Certificate;

我会申请(没有配置):

var bind = new CustomBinding();

我该怎么办?

0 个答案:

没有答案