iqueen
November 14th, 2003, 04:15 AM
what function or component should I use,if I want to retrieve a web site page html code (through proxy is optional parameters).
any help is thankful.
any help is thankful.
|
Click to See Complete Forum and Search --> : How to retrieve web html code iqueen November 14th, 2003, 04:15 AM what function or component should I use,if I want to retrieve a web site page html code (through proxy is optional parameters). any help is thankful. dynamic_sysop November 14th, 2003, 04:23 AM System.Net namespace , here's a quick example.... System.Net.WebClient wc = new System.Net.WebClient(); byte[] b=wc.DownloadData("http://www.codeguru.com/forum"); string s=System.Text.Encoding.ASCII.GetString(b); MessageBox.Show(s); iqueen November 16th, 2003, 07:07 PM many thanks.many many thanks. iqueen November 19th, 2003, 08:48 PM how to enable it through proxy(proxyip:port), thanks. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |