The Url type exposes the following members.
Back to Top
Properties
Name | Description | |
---|---|---|
![]() | DirectoryPath |
Gets the directory components of the path in this Url, excluding the filename.
|
![]() | EncodedPathAndQuery |
Gets the section of the URL used in an HTTP request.
|
![]() | FileName |
Gets the name of the file at the end of the path in this Url.
|
![]() | IpEndPoint |
Gets the IpEndPoint pointed to by this Url.
|
![]() | IsRelativePath |
Gets a value that indicates whether the return value of Path doesn't begin with /.
|
![]() | IsStandardPortForProtocol |
Gets a value that indicates whether a standard port is being used.
|
![]() | Password |
Gets the password specified in this Url.
|
![]() | Path |
Gets the path component of this Url,
excluding the first / after the hostname.
|
![]() | Protocol |
Gets the Protocol used for this Url. This appears before the :// at the
start of a URL, and is also known as the scheme.
|
![]() | Query |
Gets the percent-encoded query data section of this Url.
|
![]() | QueryData |
Get a QueryData object representing the query data section of this Url.
|
![]() | Reference |
Gets the reference (also known as the fragment ID) of this Url.
|
![]() | User |
Gets the username specified in this Url.
|
See Also