摘要:        
WebClient方法本身没有提供设定http请求响应超时时间的方法,我们需要重写该该类的GetWebRequest方法,代码如下。类名为 CGMWebClient.cs 可以根据自己的要求修改using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;namespace cvsFileUploadCommSub{ public class CGMWebClient : System.Net.WebClient { private int _timeOut     阅读全文
posted @ 2010-07-02 09:51
ljlxyf
阅读(745)
评论(0)
推荐(1)
        
 
                    
                     
                    
                 
                    
                 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号