Loading WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/DevicePortal.cs +10 −1 Original line number Diff line number Diff line Loading @@ -59,7 +59,17 @@ namespace Microsoft.Tools.WindowsDevicePortal /// Device connection object. /// </summary> private IDevicePortalConnection deviceConnection; #if !WINDOWS_UWP /// <summary> /// Initializes static members of the <see cref="DevicePortal" /> class. /// </summary> static DevicePortal() { System.Net.ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls; } #endif /// <summary> /// Initializes a new instance of the <see cref="DevicePortal" /> class. /// </summary> Loading Loading @@ -175,7 +185,6 @@ namespace Microsoft.Tools.WindowsDevicePortal } } /// <summary> /// Connects to the device pointed to by IDevicePortalConnection provided in the constructor. /// </summary> Loading Loading
WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/DevicePortal.cs +10 −1 Original line number Diff line number Diff line Loading @@ -59,7 +59,17 @@ namespace Microsoft.Tools.WindowsDevicePortal /// Device connection object. /// </summary> private IDevicePortalConnection deviceConnection; #if !WINDOWS_UWP /// <summary> /// Initializes static members of the <see cref="DevicePortal" /> class. /// </summary> static DevicePortal() { System.Net.ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls; } #endif /// <summary> /// Initializes a new instance of the <see cref="DevicePortal" /> class. /// </summary> Loading Loading @@ -175,7 +185,6 @@ namespace Microsoft.Tools.WindowsDevicePortal } } /// <summary> /// Connects to the device pointed to by IDevicePortalConnection provided in the constructor. /// </summary> Loading