Пример #1
0
        public static ExternalServiceClient GetClient(string url)
        {
            var binding  = new NetTcpBinding(SecurityMode.None);
            var endpoint = new EndpointAddress(new Uri(url));

            binding.AdjustForBermuda();

            var client = new ExternalServiceClient(binding, endpoint);

            return(client);
        }