Bearbeiten

Freigeben über


CFNetwork Class

Definition

Provides the necessary methods needed for accessing the system's global proxy configuration settings and resolving a list of proxies to use for connecting to a URL.

public static class CFNetwork
type CFNetwork = class
Inheritance
CFNetwork

Properties

ErrorDomain

Methods

GetDefaultProxy()

Gets a custom T:System.Net.IWebProxy suitable for use with the standard .NET web request APIs.

GetProxiesForAutoConfigurationScript(NSString, NSUrl)

Executes the provided javascript source to determine a list of proxies to use for connecting to the target URL.

GetProxiesForAutoConfigurationScript(NSString, Uri)

Executes the provided javascript source to determine a list of proxies to use for connecting to the target URL.

GetProxiesForUri(Uri, CFProxySettings)

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

GetProxiesForURL(NSUrl, CFProxySettings)

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

GetSystemProxySettings()

Gets the system's proxy configuration settings.

Applies to