What version of TLS is a .NET Core 3.1 + .NET Standard 2.0 application using HttpClient on Windows Server 2016 using? [closed]

  .net-core, .net-standard, c++, tls1.2, windows

I have

  1. an application which consists of a .NET Core 3.1 console app
  2. and a .NET Standard 2.0 library.
  3. The console app calls the library which uses System.Net.Http.HttpClient to call a https://... API.
  4. The entire application runs on Windows Server 2016 Datacenter (Version 1607 Build 14393.4704)

When using the HttpClient I do this

HttpClient client = new HttpClient();
client.DefaultRequestHeaders.Add("WWW-Authenticate", $"BASIC ...");
var response = await client.PostAsync(apiUrl, contentString);

Which version of TLS is being used by default?

It would be great if somebody to give me a link to Microsoft’s documentation.

Source: Windows Questions

LEAVE A COMMENT