Property HostPort HostPort Gets the host port, or 0 if not using TCP. Declaration public int HostPort { get; } Property Value Type Description int