Using the HttpClient with Microsoft.Net.Http Nuget package, how can I default to TLS 1.2 or 1.1?
Perhaps complicating things is that I'm using a PCL that's targeting: .NET Framework 4.5, Windows 8, and Windows Phone Silverlight 8 (i.e. Profile78 / targetFramework="portable-net45+win8+wp8").
[Update]
Based on the discussion with Steffen I should clarify: I want to ensure that the portable version of HttpClient will support TLS12 and TLS11 if requested by the server. (Revised the title but left the original question.)
ServicePointManager
-- my guess is it's due to the PCL targets. – WadeServicePointManager
in the portable version ofHttpClient
-- without it, I'm not sure how to tell it to try TLS12->TLS11->TLS (or if it's already doing it). – Wade