CFNetwork.GetProxiesForUri(Uri, CFProxySettings) CFNetwork.GetProxiesForUri(Uri, CFProxySettings) Method

Definition

Gets an array of CFProxy objects suitable to use for connecting to uri.

public static CoreFoundation.CFProxy[] GetProxiesForUri (Uri uri, CoreFoundation.CFProxySettings proxySettings);
static member GetProxiesForUri : Uri * CoreFoundation.CFProxySettings -> CoreFoundation.CFProxy[]

Parameters

uri
Uri Uri

The target Uri to connect to.

proxySettings
CFProxySettings CFProxySettings

The proxy settings as returned by GetSystemProxySettings().

Returns

Returns an array of CFProxy objects suitable to use for connecting to uri.

Remarks

This method serves as a convenience wrapper for GetProxiesForURL(NSUrl, CFProxySettings).

Applies to