AngleSharp by AngleSharp

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

 Url

public sealed class Url : IEquatable<Url>
Represents an Url class according to RFC3986. This is the base for all internal Url manipulation.
public string Data { get; }

Gets the additional stored data of the URL. This is data that could not be assigned.

public string Fragment { get; set; }

Gets or sets the fragment.

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

Gets if the stored url is absolute.

public bool IsInvalid { get; }

Gets if the URL parsing resulted in an error.

public bool IsRelative { get; }

Gets if the stored url is relative.

public string Origin { get; }

Gets the origin of the stored url.

public string Password { get; set; }

Gets or sets the password for authorization.

public string Path { 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 Query { get; set; }

Gets or sets the query.

public string Scheme { get; set; }

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

public string UserName { get; set; }

Gets or sets the username for authorization.

public Url(string address)

Creates a new Url from the given string.

public Url(Url baseAddress, string relativeAddress)

Creates a new absolute Url from the relative Url with the given base address.

public Url(Url address)

Creates a new Url by copying the other Url.

public static Url Convert(Uri uri)

Creates an Url from an url transported in an Uri.

public static Url Create(string address)

Creates an Url from an absolute url transported in a string.

public static Uri op_Implicit(Url value)

Converts the given Url to an Uri.

public bool Equals(Url other)

Determines whether the specified url is equal to the current object.