Httpclient could not create ssl/tls secure channel

1 · Shawinder Sekhon · Aug. 3, 2017, midnight
Simply add following line before httpclient initialization code: ServicePointManager.SecurityProtocol = (SecurityProtocolType)768 | (SecurityProtocolType)3072; Complete code will look something like this: ServicePointManager.SecurityProtocol = (SecurityProtocolType)768 | (SecurityProtocolType)3072; using (var httpClient = new HttpClient()) { httpClient.BaseAddress = new Uri(Constant.Endpoint.Event.Base); var access_token = GetAccessToken(); httpClient.DefaultRequestHeaders.TryAddWit...