AnyUri.Authority PropertyAnyUri.Authority PropertyAnyUri::Authority Property

Gets the user info, Domain Name System (DNS) host name or IP address, and the port number for a server.

Syntax

Public ReadOnly Property Authority As String
        Get
public string Authority { get; }
public:
property String^ Authority {
    String^ get();
}
 

Property Value

Type: System.StringSystem.StringSystem::String^

A stringStringString representing the authority component of the URI, or null a null reference (Nothing in Visual Basic) nullptr if the URI does not contain an authority component.

Remarks

UriUriUri does not include the user info in the Authority property.