[英]system.net.webexception C# Vista
I have object of type WebClient which successfully connects to web server. 我有WebClient类型的对象,该对象成功连接到Web服务器。 But when I run this code under Vista I get system.net.webexception socket error.
但是,当我在Vista下运行此代码时,出现system.net.webexception套接字错误。
I was a bit bewildered by my other program that used sockets directly (port scanner) that worked under XP and failed to work under Win7. 我对其他直接使用套接字(端口扫描程序)的程序感到困惑,该程序在XP下无法正常工作,而在Win7下却无法正常工作。 I thought that might be the case in this current app, but since I used WebClient - high level class - bewilderment was justified) The problem solved by adding modifying scope in excepion's for my firefall.
我以为在当前的应用程序中可能是这种情况,但是由于我使用了WebClient-高级类-困惑是有道理的)通过为我的失意在exepion中添加修改范围解决了问题。 Thanx for your time.
感谢您的时间。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.