http://www.3renx.net三人行论坛
http://www.netyi.net/index.htm专业电脑电子书库--电脑电子书籍
http://www.it.com.cn/
http://csdn.eyeah.cn/index.php
http://shop.8264.com/
Nike 网站:http://www.nike.com.cn/ 
adidas 网站:http://www.adidas.com/cn/
乔丹运动鞋全系列欣赏:
http://www.yesky.com/20030320/1658393.shtml
彪马网站:
http://www.puma.com/
锐步:
http://www.reebok.com/
李宁:http://www.li-ning.com.cn/
安踏:http://www.anta.cn/
源码巴:http://code.ebdown.com/html/20/       
代码爱好者:http://www.codefans.com/


using System;
using System.ComponentModel;using System.Web.UI;using System.Web.UI.WebControls;using System.Xml.Serialization;using System.Net;using System.IO;using System.Web;using System.Web.Mail;using System.IO;using System.Net;using System.Net.Sockets;

string url = "http://192.168.11.57/default.aspx" string username = "administrator" string password  = "Pass@word" string domain= "tym" string respstr = "" Uri contentUrl = new Uri(url) WebRequest req = WebRequest.Create(contentUrl)
'设置预先验证用户权限   
   req.PreAuthenticate = true     
'建立网络身份验证     
 System.Net.NetworkCredential mycredential  = new System.Net.NetworkCredential(username,password,domain)
     req.Credentials = mycredential
           '获取远端返回的文件流     
  WebResponse  resp = req.GetResponse()
Stream stream = resp.GetResponseStream()     
 StreamReader sr = new StreamReader(stream)      '以字符串形式读取数据流     
respstr = sr.ReadToEnd()   
sr.Close()
Response.Write(respstr)

posted on 2006-07-01 11:56  volitation  阅读(286)  评论(0)    收藏  举报