Ejemplo n.º 1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(ServicePCClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IServicePC));
 }
Ejemplo n.º 2
0
 public ServicePCClient(EndpointConfiguration endpointConfiguration) :
     base(ServicePCClient.GetBindingForEndpoint(endpointConfiguration), ServicePCClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }