Location.Port

Location.Port property

Returns the Location object’s URL’s port. Can be set, to navigate to the same URL with a changed port.

public string Port { get; set; }

See Also