using Tls12 .net 3.5 code example
Example 1: using Tls12 .net 3.5
public const SslProtocols _Tls12 = (SslProtocols)0x00000C00;
public const SecurityProtocolType Tls12 = (SecurityProtocolType)_Tls12;
ServicePointManager.SecurityProtocol = Tls12
Example 2: using Tls12 .net 3.5
Imports System.Security.Authentication
Imports System.Net