public static void Configure() { _endpoint = KnownEndpoints.FindEndpoint(Settings.ServiceEndpoint); if (_endpoint != null) { _endpoint.ConfigureServicePointManager(); } }