static WebApi() { Instance = new WebApi(); ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; }
static WebApi() { Instance = new WebApi(); ServicePointManager.DefaultConnectionLimit = 10; ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; }