The Uri.UserInfo, Uri.Host, and Uri.Port data. If no port data is in the Uri and a default port has been assigned to the Uri.Scheme, the default port is returned. If there is no default port, -1 is returned.