AngleSharp by Florian Rappl

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

 DefaultPorts

static class DefaultPorts
Contains a collection of default ports.
public static readonly string FilePort

Gets the default port for the local file protocol.

public static readonly string FtpPort

Gets the default port for the file transfer protocol.

public static readonly string GopherPort

Gets the default port for the gopher protocol.

public static readonly string HttpPort

Gets the default port for the hyper-text transfer protocol.

public static readonly string HttpsPort

Gets the default port for the secure hyper-text transfer protocol.

public static readonly string SshPort

Gets the default port for the secure websocket protocol.

public static readonly string TelnetPort

Gets the default port for the secure websocket protocol.

public static readonly string WsPort

Gets the default port for the websocket protocol.

public static readonly string WssPort

Gets the default port for the secure websocket protocol.

public static string GetDefaultPort(string protocol)

Gets the default port for the given protocol, if the protocol is a relative scheme protocol.