public EltekLicenseServiceClient(EndpointConfiguration endpointConfiguration) : base(EltekLicenseServiceClient.GetBindingForEndpoint(endpointConfiguration), EltekLicenseServiceClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
public EltekLicenseServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : base(EltekLicenseServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
private static System.ServiceModel.Channels.Binding GetDefaultBinding() { return(EltekLicenseServiceClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IEltekLicenseService)); }