Answers for "get current url c#"

4

c# get url html

using System.Net;

using (WebClient web1 = new WebClient())
	string data = web1.DownloadString("URL");
	Console.WriteLine(data);
}
Posted by: Guest on March-02-2020
2

c# get full URL of page

string absoluteurl = System.Web.HttpContext.Current.Request.Url.AbsoluteUri;
Posted by: Guest on May-26-2020

Browse Popular Code Answers by Language