Exemplo n.º 1
0
 public Sender(string receiverName)
 {
     NetNamedPipeBinding binding = new NetNamedPipeBinding(NetNamedPipeSecurityMode.None);
     this.client = ChannelFactory<IClientAsync>.CreateChannel(binding, new EndpointAddress("net.pipe://localhost/" + receiverName));
 }
Exemplo n.º 2
0
        public Sender(string receiverName)
        {
            NetNamedPipeBinding binding = new NetNamedPipeBinding(NetNamedPipeSecurityMode.None);

            this.client = ChannelFactory <IClientAsync> .CreateChannel(binding, new EndpointAddress("net.pipe://localhost/" + receiverName));
        }