谁来给解决啊 WCF双工通信WinRT调用 证书错误?
报这个错A call to SSPI failed, see inner exception.
InstanceContext instanceContext = new InstanceContext(new PushManageCallBack());
NetTcpBinding binding = new NetTcpBinding();
EndpointAddress address = new EndpointAddress(new Uri("net.tcp://127.0.0.1:9999/PushManage"));
using (DuplexChannelFactory<IPushManage> channelFactory = new DuplexChannelFactory<IPushManage>(instanceContext, binding, address))
{
var v = channelFactory.CreateChannel();
v.Login("");
}
弄了好久了 我本地调试 服务器端和客户端都在我本地
不知道咋回事
对了 上面的代码是WinRT的
[解决办法]
才开始学WCF 帮不上...