ServicePointManager.SecurityProtocol = (SecurityProtocolType)768 | (SecurityProtocolType)3072;
//Creating the Web Request.HttpWebRequest httpWebRequest = null;ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(AcceptAllCertifications);httpWebRequest = WebRequest.Create(requestUrl) as HttpWebRequest;httpWebRequest.ProtocolVersion = HttpVersion.Version10;
歡迎光臨 歐付寶討論版 (https://forum.opay.tw/) | Powered by Discuz! X3.2 |