Click or drag to resize

UrlUtility Methods

The UrlUtility type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddScheme
Adds specified scheme to a given URL.
Public methodStatic memberAddWWW
Adds "www."prefix to the given URL.
Public methodStatic memberGetBaseDomain
Retrieves a base domain for a given URL.
Public methodStatic memberGetHostName
Retrieves the host component of a given URL.
Public methodStatic memberGetHostNameComponent
Retrieves specified host components from the given host.
Public methodStatic memberGetPath
Returns the absolute virtual path of the given URL. Query-string is omitted.
Public methodStatic memberGetQuery
Retrieves the query-string component of a given URL.
Public methodStatic memberGetQueryParameterValue
Retrieves specified query-string parameter value.
Public methodStatic memberGetScheme
Retrieves scheme (e.g. "http://") declaration for the given URL.
Public methodStatic memberGetTopLevelDomain
Extracts the top level domain from the given URL.
Public methodStatic memberHasScheme
Determines whether scheme component is defined on a given URL.
Public methodStatic memberMapToPhysical
Maps specified virtual path to its physical equivalent.
Public methodStatic memberRemoveScheme
Removes scheme (e.g. "http://") declaration from the given URL.
Public methodStatic memberRemoveWWW
Removes "www." or "www2." prefix from the given URL.
Top
See Also