Webpage load
-
In C# (window application), I want to download a webpage content (ex:"http://codeproject.com") how can I do? I know about "web browser control" but I don't want to use it. Please help me! Thanks!
-
In C# (window application), I want to download a webpage content (ex:"http://codeproject.com") how can I do? I know about "web browser control" but I don't want to use it. Please help me! Thanks!
Take a look at the
HttpWebRequest
class.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
-
In C# (window application), I want to download a webpage content (ex:"http://codeproject.com") how can I do? I know about "web browser control" but I don't want to use it. Please help me! Thanks!
Use
DownloadFile
method of theSystem.Net.WebClient
Class.