c#代碼:
WebRequest mywebrq;
WebResponse mywebresp;
StreamReader sr;
Streamwriter sw;
Private void Page_Load(object sender
{
mywebreq=WebRequest
mywebresp=mywebreq
sr=new streamReader(mywebresp
strHtml=sr
sw=File
sw
sw
Response
}
From:http://tw.wingwit.com/Article/program/net/201311/11173.html