Delen via


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:
 property IVectorView<Uri ^> ^ ProxyUris { IVectorView<Uri ^> ^ get(); };
IVectorView<Uri> ProxyUris();
public IReadOnlyList<System.Uri> ProxyUris { get; }
var iVectorView = proxyConfiguration.proxyUris;
Public ReadOnly Property ProxyUris As IReadOnlyList(Of Uri)

Property Value

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.

Applies to