Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Webpage load

Webpage load

Scheduled Pinned Locked Moved C#
questioncsharpcomhelp
3 Posts 3 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    linhuu
    wrote on last edited by
    #1

    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!

    S O 2 Replies Last reply
    0
    • L linhuu

      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!

      S Offline
      S Offline
      Stefan Troschuetz
      wrote on last edited by
      #2

      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

      www.troschuetz.de

      1 Reply Last reply
      0
      • L linhuu

        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!

        O Offline
        O Offline
        Obaid ur Rehman
        wrote on last edited by
        #3

        Use DownloadFile method of the System.Net.WebClient Class.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups