title: Generate Sitemap by URL using C#
body: <p>Good day. I need to write generator of Sitemap using C#. I have already written generator for local site where you input a path to your project (site) and my programm will find all web-pages in this directory and subdirectories, and will write them to the Sitemap file. </p>
  
  <hr>
  
  <p>Now I need to do the same but for URL paths. All that I get to enter is a URL adress, and my programm have to found   all web-pages of this site and write them to the Sitemap. How can I organize such searching of pages? Or may be someone did something similiar? Advance thanks for your help.</p>