AngleSharp by Florian Rappl

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

 PortNumbers

static class PortNumbers
Contains a collection of default ports.
public static string GetDefaultPort(string protocol)

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