diff --git a/ArkApi Hook Creator/ArkApi Hook Creator/Form1.cs b/ArkApi Hook Creator/ArkApi Hook Creator/Form1.cs index 20bbf66..dbb2f6c 100644 --- a/ArkApi Hook Creator/ArkApi Hook Creator/Form1.cs +++ b/ArkApi Hook Creator/ArkApi Hook Creator/Form1.cs @@ -65,7 +65,8 @@ private void LoadHeaders() { using (WebClient wc = new WebClient()) { - int ClassId = ClassIndex++; + int ClassId = ClassIndex++; + System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12; wc.DownloadStringCompleted += (object s, DownloadStringCompletedEventArgs ea) => ParseArkHeader(ClassId, ClassId == ClassCount, s, ea); wc.DownloadStringAsync(new Uri("https://raw.githubusercontent.com/Michidu/ARK-Server-API/master/version/Core/Public/API/" + (GameCombo.SelectedIndex == 0 ? "ARK" : "Atlas") + "/" + ArkHeader + ".h")); }