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
staticCheckHostName(string) : UriHostNameType Returns a value that describes the format of a host name string. staticCheckSchemeName(string) : bool Returns a bool value indicating whether the specified scheme name is valid. staticCompare(Uri, Uri, UriComponents, UriFormat, StringComparison) : int Documentation for this section has not yet been entered. overrideEquals(object) : bool Compares the current instance and the specified object for equality. staticEscapeDataString(string) : string Documentation for this section has not yet been entered. staticEscapeUriString(string) : string Documentation for this section has not yet been entered. staticFromHex(char) : int Returns the decimal value of a hexadecimal digit.GetComponents(UriComponents, UriFormat) : string Documentation for this section has not yet been entered. overrideGetHashCode() : int Generates a hash code for the current instance.GetLeftPart(UriPartial) : string Returns the specified portion of the URI represented by the current instance. staticHexEscape(char) : string Converts a specified ASCII character into its escaped hexadecimal equivalent. staticHexUnescape(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. staticIsHexDigit(char) : bool Returns a bool value that indicates whether the specified character is a valid hexadecimal digit. staticIsHexEncoding(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. staticIsWellFormedUriString(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. overrideToString() : string Returns the unescaped, canonical form of the URI information used to construct the current instance. staticTryCreate(string, UriKind, out Uri) : bool Documentation for this section has not yet been entered. staticTryCreate(Uri, string, out Uri) : bool Documentation for this section has not yet been entered. staticTryCreate(Uri, Uri, out Uri) : bool Documentation for this section has not yet been entered. staticUnescapeDataString(string) : string Documentation for this section has not yet been entered.
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. staticEscapeString(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. staticIsExcludedCharacter(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.