AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.2.5" />

 Location

public class Location
A location object with information about a URL.
public string Hash { get; set; }

Gets the hash, e.g. "#myhash".

public string Host { get; set; }

Gets the host, e.g. "localhost:8800" or "www.w3.org".

public string HostName { get; set; }

Gets the host name, e.g. "localhost" or "www.w3.org".

public string Href { get; set; }

Gets the hyper reference, i.e. the full path.

public string PathName { get; set; }

Gets the pathname, e.g. "/mypath".

public string Port { get; set; }

Gets the port, e.g. "8800"

public string Protocol { get; set; }

Gets the protocol, e.g. "http:".