AngleSharp by Florian Rappl

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

.NET API 1,168,384 bytes

 Location

sealed class Location : ILocation, IUrlUtilities
A location object with information about a Url.
public sealed class LocationChangedEventArgs : EventArgs

Event Arguments for the location changed event.

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 bool IsRelative { get; }

Gets if the stored location is relative and requires a base URL.

public string Origin { get; }

Gets the origin of the url.

public string Password { get; set; }

Gets or sets the password for authorization.

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=...".

public string UserName { get; set; }

Gets or sets the username for authorization.

Fired when the address is changed.

public void Assign(string url)

public void Reload()

public void Replace(string url)