2016-08-01 109 views
0

他那裏,的Windows 10 +請求已中止:無法創建SSL/TLS安全通道

我得到以下錯誤...

System.Net.WebException was caught 
    HResult=-2146233079 
    Message=The request was aborted: Could not create SSL/TLS secure channel. 
    Source=System 
    StackTrace: 
     at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) 
     at System.Net.HttpWebRequest.GetRequestStream() 

我試圖調用第三方API。 。這是工作在Windows 7中,但之後我升級到Windows 10失敗...

我也曾嘗試使用下面的編碼

ServicePointManager.Expect100Continue = true; 

System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls; 
安全協議改變

我也嘗試了一些註冊表編輯像下面..

Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319 
Value: SchUseStrongCrypto 

另一個奇怪的問題是,它是連接交替的方式... 第一次連接,但中止連續請求..

請任何一個可以幫我解決這個問題

注:問題出現後,我從Windows 7

回答

相關問題