This method, get the HTML source code of any WebPage
C#.NET
using System.Net;
WebClient webClient = new WebClient();
string strHTMLSourceCode = webClient.DownloadString("http://www.microsoft.com");
VB.NET
Imports System.Net
Dim webClient As WebClient = New WebClient()
Dim strHTMLSourceCode As String = webClient.DownloadString("http://www.microsoft.com")
Read More about webClient.DownloadString(string)…
Happy Programming!!
Tags: C#.Net, OpenSource, VB.NET