Windows 8.1 App支持TLS 1.1和TLS 1.2 [英] Windows 8.1 App to support TLS 1.1 and TLS 1.2

查看:286
本文介绍了Windows 8.1 App支持TLS 1.1和TLS 1.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我们有一个Windows 8.1商店应用程序。使用支持TLS 1.1& ;;的服务器上传/下载文件TLS 1.2,它无法正常工作。我们可以使用什么库来使用下面的代码或类似代码。

We have a windows 8.1 store app. For file upload/download with the server that supports TLS 1.1 & TLS 1.2, its not working. What library we can use to have it work using below or similar code.

System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;





Will" System.Net.Http"不支持TLS 1.1或更高版本?我们尝试使用"Windows.Web.Http"另外,但是得到"内部服务器错误"。


Will "System.Net.Http" not support TLS 1.1 or higher? We tried using "Windows.Web.Http" also, but getting "Internal Server Error".


请注意,当我们尝试将项目目标设置为。净4.6,它会自动降级到4.5。

Please note that When we try to set the project target to .net 4.6, it automatically downgrades to 4.5.

Raj

推荐答案

嗨Raj 91,

Hi Raj 91,

由于您的问题超出了发布论坛的范围,我们会将此问题移至  开发通用Windows应用论坛,以便您可以更好地获得
的帮助。感谢您的理解

Since your question is out of the scope of publishing forum, we will move this question to Developing Universal Windows apps forum so that you could be assisted better. Thanks for your understanding

祝您好运

Daisy  Tian

Daisy  Tian


这篇关于Windows 8.1 App支持TLS 1.1和TLS 1.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆