AngleSharp by Florian Rappl

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

 Location

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

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

public string Host { get; set; }

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

public string HostName { get; set; }

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

public string Href { get; set; }

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

public string PathName { get; set; }

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

public string Port { get; set; }

Gets or sets the port, e.g. "8800"

public string Protocol { get; set; }

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

public string Search { get; set; }

Gets or sets the query, e.g. "?id=...".