Mono Class Library: Overview

System.Uri: Method Members

The methods of System.Uri are listed below. For a list of all members, see the Uri Members list.

See Also: Inherited members from System.Object

Public Methods

static
CheckHostName(string) : UriHostNameType
Returns a value that describes the format of a host name string.
static
CheckSchemeName(string) : bool
Returns a bool value indicating whether the specified scheme name is valid.
static
Compare(Uri, Uri, UriComponents, UriFormat, StringComparison) : int
Documentation for this section has not yet been entered.
override
Equals(object) : bool
Compares the current instance and the specified object for equality.
static
EscapeDataString(string) : string
Documentation for this section has not yet been entered.
static
EscapeUriString(string) : string
Documentation for this section has not yet been entered.
static
FromHex(char) : int
Returns the decimal value of a hexadecimal digit.
GetComponents(UriComponents, UriFormat) : string
Documentation for this section has not yet been entered.
override
GetHashCode() : int
Generates a hash code for the current instance.
GetLeftPart(UriPartial) : string
Returns the specified portion of the URI represented by the current instance.
static
HexEscape(char) : string
Converts a specified ASCII character into its escaped hexadecimal equivalent.
static
HexUnescape(string, ref int) : char
Converts a specified escaped hexadecimal representation of a character to the character.
IsBaseOf(Uri) : bool
Documentation for this section has not yet been entered.
static
IsHexDigit(char) : bool
Returns a bool value that indicates whether the specified character is a valid hexadecimal digit.
static
IsHexEncoding(string, int) : bool
Returns a bool value that indicates whether a substring of the specified string is in escaped hexadecimal encoding format ("%" followed by two hexadecimal characters).
IsWellFormedOriginalString() : bool
Documentation for this section has not yet been entered.
static
IsWellFormedUriString(string, UriKind) : bool
Documentation for this section has not yet been entered.
MakeRelative(Uri) : string
Returns the specified Uri as a relative URI.
MakeRelativeUri(Uri) : Uri
Documentation for this section has not yet been entered.
override
ToString() : string
Returns the unescaped, canonical form of the URI information used to construct the current instance.
static
TryCreate(string, UriKind, out Uri) : bool
Documentation for this section has not yet been entered.
static
TryCreate(Uri, string, out Uri) : bool
Documentation for this section has not yet been entered.
static
TryCreate(Uri, Uri, out Uri) : bool
Documentation for this section has not yet been entered.
static
UnescapeDataString(string) : string
Documentation for this section has not yet been entered.

Protected Methods

Canonicalize()
Converts the components of the URI represented by the current instance to canonical form.
CheckSecurity()
Checks the current instance for character sequences that can result in unauthorized access to resources, and removes them.
Escape()
Converts any unsafe or reserved characters in the Uri.AbsolutePath component to equivalent escaped hexadecimal sequences.
static
EscapeString(string) : string
Converts a string to its escaped representation.
GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
Documentation for this section has not yet been entered.
IsBadFileSystemCharacter(char) : bool
Returns a bool value that indicates whether the specified character would be an invalid character if used in a file system name.
static
IsExcludedCharacter(char) : bool
Returns a bool value that indicates whether the specified character is excluded from use or is unwise in URIs, as defined by IETF RFC 2396.
IsReservedCharacter(char) : bool
Returns a bool value that indicates whether a character is part of the URI reserved set.
Parse()
Parses the URI into its constituent components.
Unescape(string) : string
Converts escape sequences in the specified string into their unescaped equivalents.