예제 #1
0
 static WebApi()
 {
     Instance = new WebApi();
     ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
 }
예제 #2
0
파일: WebApi.cs 프로젝트: orels1/VRCX
 static WebApi()
 {
     Instance = new WebApi();
     ServicePointManager.DefaultConnectionLimit = 10;
     ServicePointManager.SecurityProtocol       = SecurityProtocolType.Tls12;
 }