Click or drag to resize

UrlParser Properties

The UrlParser type exposes the following members.

Properties
 NameDescription
Public propertyFragment The Fragment property gets any text following a fragment marker (#) in the URL, including the fragment marker itself.
Public propertyHostname Get the HostName.
Public propertyHostnameAndPort Combined Hostname and Port of the URL ("www.website.com:81"). The Port and the separating colon will only be included if the Port value is different from the default port for the specified protocol.
Public propertyHostnameType Get Hostname type
Public propertyIsAbsoluteUri The AbsoluteUrl property includes the entire URL stored in the Url instance, including all fragments and query strings.
Public propertyIsDefaultPort Gets whether the port value of the URL is the default for this scheme.
Public propertyIsFile Gets a value indicating whether the specified Url is a file URL.
Public propertyIsLoopback Gets whether the specified Url references the local host.
Public propertyIsUnc The IsUnc property is true if the specified Url instance is a UNC path (such as \\server\folder or file://server/folder). This property always returns true if the URL has the file:// scheme and specifies a host component.
Public propertyParams Parameters portion of the URL ("?query=something").
Public propertyPath Path portion of the URL ("/test.asp)
Public propertyPathAndParams Combined Path and Parameters of the URL ("test.pas?query=something"). The Parameters and the separating questionmark will only be included if the Params value is assigned.
Public propertyPort Port portion of the URL ("81").
Public propertyProtocol Protocol portion of the URL ("http").
Public propertyUrl The full URL. Only the relevant parts of the URL will be included; the Port will be omitted if it is equal to the default for the specified Protocol, Path and Params will be omitted if they are not assigned.
Public propertyUrl_Orig The full URL as provided by the user
Top
See Also