码迷,mamicode.com
首页 > Windows程序 > 详细

Net 4.5 WebSocket 在 Windows 7, Windows 8 and Server 2012上的比较以及问题

时间:2018-11-13 16:14:20      阅读:237      评论:0      收藏:0      [点我收藏+]

标签:使用   throw   无效   错误   com   form   git   windows   类库   

Net 4.5 WebSocketWindows 8, Windows 10, Windows Server 2012可以,但是在Windows 7, 就会报错。

错误1、“一个文件正在被访问,当前无法使用该文件

错误2、“参数无效

错误3、throws a PlatformNotSupportedException.

 

解决方法:

Net 4.5 WebSocket Server 可以运行在 Windows 7,但是Net 4.5的 ClientWebSocket 不支持 Windows 7,

只支持 Windows 8 and Server 2012,

但是可以使用第三方类库来支持Net 4.5 WebSocket 在win7,Windows 7上使用,

具体参考如下:

Net 4.5 WebSocket 在 Windows 7, Windows 8 and Server 2012上的比较以及问题

标签:使用   throw   无效   错误   com   form   git   windows   类库   

原文地址:https://www.cnblogs.com/1175429393wljblog/p/9952398.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!