Gets the authority component of the URI used to construct the current instance.
A string containing the authority component of the current instance. The value returned by this property is composed of the values returned by the Uri.Host and Uri.Port properties.
This property is read-only.
The Uri.Authority property returns the Uri.Host and Uri.Port information specified in the URI used to construct the current instance. The value of this property includes the port information only if the URI specified a port that is not the default for the current scheme. When port information is included in the value returned by this property, the host and port are separated by a colon (":").