c#代码:
WebRequest mywebrq;
WebResponse mywebresp;
StreamReader sr;
Streamwriter sw;
Private void Page_Load(object senderEventArgs e)
{
mywebreq=WebRequestCreate(x);
mywebresp=mywebreqGetResponse();
sr=new streamReader(mywebrespGetResponsestream());
strHtml=srReadToEnd();
sw=FileCreateText(servermappath());
swwriteling(strHtml);
swclose();
ResponsewriteFile(ServerMappath());
}