Переглянути джерело

Merge pull request #8519 from MatchaOre/main

chore: remove protocol set
龙腾猫跃 5 місяців тому
батько
коміт
570df497c8
1 змінених файлів з 0 додано та 1 видалено
  1. 0 1
      Plain Craft Launcher 2/Application.xaml.vb

+ 0 - 1
Plain Craft Launcher 2/Application.xaml.vb

@@ -118,7 +118,6 @@ WaitRetry:
             ToolTipService.VerticalOffsetProperty.OverrideMetadata(GetType(DependencyObject), New FrameworkPropertyMetadata(4.0))
             '设置网络配置默认值
             ServicePointManager.Expect100Continue = False
-            ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 Or SecurityProtocolType.Tls Or SecurityProtocolType.Tls11 Or SecurityProtocolType.Tls12
             ServicePointManager.DefaultConnectionLimit = 10000
             ServicePointManager.UseNagleAlgorithm = False
             ServicePointManager.EnableDnsRoundRobin = True