public ErmIoTServiceClient(EndpointConfiguration endpointConfiguration) : base(ErmIoTServiceClient.GetBindingForEndpoint(endpointConfiguration), ErmIoTServiceClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return(ErmIoTServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IErmIoTService)); }