• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

OmegaChartのソースコードの保守


Commit MetaInfo

Revision4fee7d9fb204634e724e8369977d596daf7ca215 (tree)
Time2018-12-28 20:47:16
Authorpanacoran <panacoran@user...>
Commiterpanacoran

Log Message

Windows 7でTLS 1.1とTLS 1.2を使えるようにする

Change Summary

Incremental Difference

--- a/Env.cs
+++ b/Env.cs
@@ -8,6 +8,7 @@ using System.Collections;
88 using System.Text;
99 using System.Diagnostics;
1010 using System.IO;
11+using System.Net;
1112 using System.Windows.Forms;
1213
1314 using Travis.Storage;
@@ -147,6 +148,7 @@ namespace Zanetti
147148
148149 private static void InitEnv() {
149150 Application.EnableVisualStyles();
151+ ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11;
150152
151153 string dir = GetAppDir() + "data";
152154 if(!Directory.Exists(dir))