Read source of a web page in C#
This example shows how to read the source of a web page in C#. // used to build entire input StringBuilder sb = new StringBuilder(); // used on each read operation byte[] buf = new byte[8192]; // prepare the web page we will be asking for WebRequest request = WebRequest.Create("http://andrewbeaton.com"); // execute [...]