WebRequest req = WebRequest.Create("http://www.ucasp.net");
         WebResponse result 
= req.GetResponse();
         Stream ReceiveStream 
= result.GetResponseStream();
      

         Byte[] read 
= new Byte[int.Parse(result.ContentLength.ToString())];
         
int bytes = ReceiveStream.Read(read, 0int.Parse(result.ContentLength.ToString()));
         Encoding encode 
= System.Text.Encoding.GetEncoding("gb2312");//编码方式 
            string text=encode.GetString(read,0, int.Parse(result.ContentLength.ToString()));