iOS Guides | Samples

CoreFoundation.CFNetwork Class

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.

See Also: CFNetwork

Syntax

public static class CFNetwork

Remarks

Requirements

Namespace: CoreFoundation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of CoreFoundation.CFNetwork are listed below.

See Also: Object

Public Properties

[read-only]
static
ErrorDomainNSString.

Public Methods

static
GetDefaultProxy() : IWebProxy
Gets a custom IWebProxy suitable for use with the standard .NET web request APIs.
static
GetProxiesForAutoConfigurationScript(NSString, NSUrl) : CFProxy[]
Executes the provided javascript source to determine a list of proxies to use for connecting to the target URL.
static
GetProxiesForAutoConfigurationScript(NSString, Uri) : CFProxy[]
Executes the provided javascript source to determine a list of proxies to use for connecting to the target URL.
static
GetProxiesForUri(Uri, CFProxySettings) : CFProxy[]
Gets an array of CFProxy objects suitable to use for connecting to uri.
static
GetProxiesForURL(NSUrl, CFProxySettings) : CFProxy[]
Gets an array of CFProxy objects suitable to use for connecting to url.
static
GetSystemProxySettings() : CFProxySettings
Gets the system's proxy configuration settings.