Outlok Add-in not using TLS 1.2 by default with Target .NET Framework 4.6.2

Add-in Express™ Support Service
That's what is more important than anything else

Outlok Add-in not using TLS 1.2 by default with Target .NET Framework 4.6.2
 
Subscribe
Andrei Smolin


Add-in Express team


Posts: 14094
Joined: 2006-05-11
Hello Jeff,

The add-in project is built with 4.6.2. As to the registry settings on that page, I use Windows 10 and they don't apply to it.

I've used the following construct to find the .NET version used:


string version = string.Empty;
version = System.Diagnostics.FileVersionInfo.GetVersionInfo(typeof(HttpClient).Assembly.Location).ProductVersion;


For a console application which is reported as "it uses TLS 1.2"; the value of version above is 4.7.2046.0.
For a COM add-in which is reported as "it doesn't use TLS 1.2"; the value of version above is 4.7.2046.0.

I get a different value if I replace HttpClient above with ServicePointManager. Still, this value is 4.7.*.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 26 Oct, 2017 08:44:30 Top