We use Xamarin to target IOS, Android and Windows 8.1 devices. We have recently had the need to allow the use of TLS 1.2 for all 3 of these platforms. IOS does this out of the box. For Android we are using ModernHTTPClient to achieve this. But for Windows 8.1 there doesn't currently seem to be any way of supporting TLS 1.2.
We have tried the following approaches without success:
- Making use of the ServicePointManager to define the TLS versions available - SPM is not supported in PCL or Windows target projects
- Upgrade to .NET 4.6 - Xamarin does not allow this and reverts the version back to 4.5 each time
- Upgrade to Visual Studio 2017 with .NET Core 2.0 - VS2017 does not support Windows 8.1 App/Phone projects.
Does anyone know if there is any way of achieving this within 8.1 as there currently doesn't seem to be any way of doing it?
Thanks in advance