Answers for "how to get url pathname in 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
0

uri file path c#

var uri = new System.Uri("c:\\foo");
var converted = uri.AbsoluteUri;
Posted by: Guest on July-08-2020

Browse Popular Code Answers by Language