ProxyConfiguration.ProxyUris ProxyConfiguration.ProxyUris ProxyConfiguration.ProxyUris ProxyConfiguration.ProxyUris ProxyConfiguration.ProxyUris Property

Definition

Gets a list of URIs for the proxies from the proxy configuration.

Note

This class property is not supported on Windows Phone.

public : IVectorView<Uri> ProxyUris { get; }
IVectorView<Uri> ProxyUris();
public IReadOnlyList<Uri> ProxyUris { get; }
Public ReadOnly Property ProxyUris As IReadOnlyList<Uri>
var iReadOnlyList = proxyConfiguration.proxyUris;

Property Value

IReadOnlyList<Uri> IReadOnlyList<Uri> IReadOnlyList<Uri>

A list of URIs for the proxy configuration.

Remarks

The Web Proxy Auto-Discovery Protocol (WPAD) is used by web browsers and other apps to locate a proxy configuration file. This proxy auto-config (PAC) file defines the proxy server that should be used to retrieve a specific URI or whether to bypass the proxy for certain URIs. The PAC allows different proxies to be defined for different URIs.

The ProxyUris property contains a list of URIs that an app should connect directly to and bypass the proxy.

In a UWP app, the StreamSocket class supports connecting to a remote endpoint when proxies are required to complete the connection. This support for proxies is automatic and transparent to the app. For more detailed information, see the remarks on Support for proxies in the StreamSocket class reference.