Mono Class Library: Overview

System.Uri: Members

The members of System.Uri are listed below.

See Also: Inherited members from System.Object

Public Constructors

Constructs and initializes a new instance of the Uri class by parsing the specified URI.
Constructs and initializes a new instance of the Uri class by parsing the specified URI.
Documentation for this section has not yet been entered.
Constructs and initializes a new instance of the Uri class by combining the specified base and relative URIs.
Documentation for this section has not yet been entered.
Constructs and initializes a new instance of the Uri class by combining the specified base and relative URIs.

Protected Constructors

Public Fields

static readonly
SchemeDelimiterstring. A string containing the characters that separate the scheme component from the remainder of a URI.
static readonly
UriSchemeFilestring (file). A string containing the characters that indicate that a URI identifies a file.
static readonly
UriSchemeFtpstring (ftp). A string containing the characters that indicate that a URI is accessed through the File Transfer Protocol (FTP).
static readonly
UriSchemeGopherstring (gopher). A string containing the characters that indicate that a URI is accessed through the Gopher protocol.
static readonly
UriSchemeHttpstring (http). A string containing the characters that indicate that a URI is accessed through the Hypertext Transfer Protocol (HTTP).
static readonly
UriSchemeHttpsstring (https). A string containing the characters that indicate that a URI is accessed through the Secure Hypertext Transfer Protocol (HTTPS).
static readonly
UriSchemeMailtostring (mailto). A string containing the characters that indicate that a URI is an email address and is accessed through the Simple Network Mail Protocol (SNMP).
static readonly
UriSchemeNetPipestring. Documentation for this section has not yet been entered.
static readonly
UriSchemeNetTcpstring. Documentation for this section has not yet been entered.
static readonly
UriSchemeNewsstring (news). A string containing the characters that indicate that a URI is an Internet news group and is accessed through the Network News Transport Protocol (NNTP).
static readonly
UriSchemeNntpstring (nntp). A string containing the characters that indicate that a URI is an Internet news group and is accessed through the Network News Transport Protocol (NNTP).

Public Properties

[read-only]
AbsolutePathstring. Gets the absolute path of the resource identified by the current instance.
[read-only]
AbsoluteUristring. Gets the absolute URI of the resource identified by the current instance in canonical form.
[read-only]
Authoritystring. Gets the authority component of the URI used to construct the current instance.
[read-only]
DnsSafeHoststring. Documentation for this section has not yet been entered.
[read-only]
Fragmentstring. Gets the fragment component of the URI used to construct the current instance.
[read-only]
Hoststring. Gets the host component of the URI used to construct the current instance.
[read-only]
HostNameTypeUriHostNameType. Gets the format of the host address in the URI used to construct the current instance.
[read-only]
IsAbsoluteUribool. Documentation for this section has not yet been entered.
[read-only]
IsDefaultPortbool. Gets a bool value indicating whether the Uri.Port value of the current instance is the default port for the scheme of the current instance.
[read-only]
IsFilebool. Gets a bool value indicating whether the current instance identifies a file.
[read-only]
IsLoopbackbool. Gets a bool value indicating whether the host information of the current instance is the current computer.
[read-only]
IsUncbool. Documentation for this section has not yet been entered.
[read-only]
LocalPathstring. Gets the local operating-system representation of the resource identified by the current instance.
[read-only]
OriginalStringstring. Documentation for this section has not yet been entered.
[read-only]
PathAndQuerystring. Gets the Uri.AbsolutePath and Uri.Query components of the URI used to construct the current instance.
[read-only]
Portint. Gets the port number used to connect to the Uri.Host referenced by the current instance.
[read-only]
Querystring. Gets the query component of the URI used to construct the current instance.
[read-only]
Schemestring. Gets the scheme component of the URI used to construct the current instance.
[read-only]
Segmentsstring[]. Documentation for this section has not yet been entered.
[read-only]
UserEscapedbool. Gets a bool value that indicates whether the URI information used to construct the current instance was escaped before the current instance was created.
[read-only]
UserInfostring. Gets the userinfo component of the URI used to construct the current instance.

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.

Public Operators

static
Equality(Uri, Uri)Documentation for this section has not yet been entered.
static
Inequality(Uri, Uri)Documentation for this section has not yet been entered.

Explicitly Implemented Interface Members

System.Runtime.Serialization.ISerializable.GetObjectDataDocumentation for this section has not yet been entered.