Uri Class

Parses Uniform Resource Identifiers (URIs).

Syntax

public ref class Uri sealed  

Remarks

The Uri class doesn’t percent-encode non-ASCII characters in file:// Uniform Resource Identifiers (URIs) and interprets percent-encoding using the user’s current codepage.

Here is a breakdown of the parts of an example Uniform Resource Identifier (URI):

scheme://username:password@host:port/path.extension?query#fragment

For example:

ftp://user:password@ftp.microsoft.com:8080/path/bin/file.asp?q=query#fragment

In this example:

Requirements

Namespace: Windows.Foundation

Metadata: windows.winmd

See also

Reference

Uri Members

Windows.Foundation Namespace