Uri Properties

 

Namespace:   System
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubpropertyAbsolutePath

Gets the absolute path of the URI.

System_CAPS_pubpropertyAbsoluteUri

Gets the absolute URI.

System_CAPS_pubpropertyAuthority

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

System_CAPS_pubpropertyDnsSafeHost

Gets an unescaped host name that is safe to use for DNS resolution.

System_CAPS_pubpropertyFragment

Gets the escaped URI fragment.

System_CAPS_pubpropertyHost

Gets the host component of this instance.

System_CAPS_pubpropertyHostNameType

Gets the type of the host name specified in the URI.

System_CAPS_pubpropertyIdnHost

The RFC 3490 compliant International Domain Name of the host, using Punycode as appropriate.

System_CAPS_pubpropertyIsAbsoluteUri

Gets whether the Uri instance is absolute.

System_CAPS_pubpropertyIsDefaultPort

Gets whether the port value of the URI is the default for this scheme.

System_CAPS_pubpropertyIsFile

Gets a value indicating whether the specified Uri is a file URI.

System_CAPS_pubpropertyIsLoopback

Gets whether the specified Uri references the local host.

System_CAPS_pubpropertyIsUnc

Gets whether the specified Uri is a universal naming convention (UNC) path.

System_CAPS_pubpropertyLocalPath

Gets a local operating-system representation of a file name.

System_CAPS_pubpropertyOriginalString

Gets the original URI string that was passed to the Uri constructor.

System_CAPS_pubpropertyPathAndQuery

Gets the AbsolutePath and Query properties separated by a question mark (?).

System_CAPS_pubpropertyPort

Gets the port number of this URI.

System_CAPS_pubpropertyQuery

Gets any query information included in the specified URI.

System_CAPS_pubpropertyScheme

Gets the scheme name for this URI.

System_CAPS_pubpropertySegments

Gets an array containing the path segments that make up the specified URI.

System_CAPS_pubpropertyUserEscaped

Indicates that the URI string was completely escaped before the Uri instance was created.

System_CAPS_pubpropertyUserInfo

Gets the user name, password, or other user-specific information associated with the specified URI.

Return to top
Show: