NetworkExtension Namespace

The NetworkExtension namespace provides classes for configuring and connecting to VPN servers.

Classes

NEAppProxyFlow

Provides IO over a network socket.

NEAppProxyFlowErrorExtensions

Extension methods for the NetworkExtension.NEAppProxyFlowError enumeration.

NEAppProxyProvider

Provides sockets by creating NEAppProxyFlow objects.

NEAppProxyProviderManager

Configures and controls network tunnels received from an App Proxy Provider extension.

NEAppProxyTcpFlow

Provides IO over a TCP socket.

NEAppProxyUdpFlow

Provides IO over a UDP socket.

NEAppRule

Defines a rule that select network connections based on application signing identifier, application path, and/or hostname domain.

NEDatagramReadResult
NEDnsProxyManager

Encapsulates a DNS proxy.

NEDnsProxyManager.Notifications
NEDnsProxyManagerErrorExtensions

Extension methods for the NetworkExtension.NEDnsProxyManagerError enumeration.

NEDnsProxyProvider

The main class for intercepting DNS traffic originating on the device.

NEDnsProxyProviderProtocol

Configuration settings for NEDnsProxyProvider objects.

NEDnsSettings

Contains DNS resolver settings for a network tunnel.

NEEvaluateConnectionRule

Creates a connection between properties of a connection and an action to be taken.

NEFilterBrowserFlow

Contains information about a WebKit browser network data flow.

NEFilterControlProvider

Provides filter flow control information to a NEFilterDataProvider.

NEFilterControlVerdict

Represents a Filter Control Provider decision about network data flow.

NEFilterDataProvider

Filters network data.

NEFilterDataVerdict

Represents a Filter Data Provider decision about network data flow.

NEFilterFlow

Contains information about a network data flow.

NEFilterManager

Manages content filter configurations.

NEFilterManager.Notifications

Contains notifications for NEFilterManager objects.

NEFilterManagerErrorExtensions

Extension methods for the NetworkExtension.NEFilterManagerError enumeration.

NEFilterNewFlowVerdict

Represents a Filter Provider decision about network data flow the first time that the data is seen.

NEFilterProvider

Base class for data and control filter providers.

NEFilterProviderConfiguration

Contains Filter Provider configuration data.

NEFilterRemediationVerdict

Represents a Filter Data Provider decision about network data flow after the user requests access.

NEFilterReport

A reporting action taken on a filtered data flow.

NEFilterSocketFlow

Contains information about network data flow over a socket.

NEFilterVerdict

Base class for content filter verdicts.

NEFlowMetaData

Contains additional data about a network data flow.

NEHotspotConfiguration

Configuration settings for a network hotspot.

NEHotspotConfigurationManager

Manages the application or removal of NEHotspotConfiguration.

NEHotspotEapSettings
NEHotspotHelper

Enables registration for Wi-Fi hotspots.

NEHotspotHelperCommand

Represents commands to a Hotspot Helper.

NEHotspotHelperOptionInternal

Holds the name of the network handled by the applications.

NEHotspotHelperOptions

Represents options for registering a Hotspot Helper.

NEHotspotHelperResponse

Contains a Hotspot Helper command response.

NEHotspotHS20Settings
NEHotspotNetwork

Contains information about a Wi-Fi network hotspot.

NEIPv4Route

Settings for an IPv4 route.

NEIPv4Settings

Settings for an IPv4 tunnel.

NEIPv6Route

Settings for an IPv6 route.

NEIPv6Settings

Settings for an IPv6 tunnel.

NEOnDemandRule

Subclasses define rules for automatic connection to VPNs.

NEOnDemandRuleConnect

An NEOnDemandRule whose Action is Connect.

NEOnDemandRuleDisconnect

An NEOnDemandRule whose Action is Disconnect.

NEOnDemandRuleEvaluateConnection

An NEOnDemandRule whose Action is EvaluateConnection.

NEOnDemandRuleIgnore

An NEOnDemandRule whose Action is Ignore.

NEPacket
NEPacketTunnelFlow

Provides IO over a TUN interface.

NEPacketTunnelFlowReadResult
NEPacketTunnelNetworkSettings

Contains settings for a NEPacketTunnelFlow.

NEPacketTunnelProvider

Provides sockets by creating NEPacketTunnelFlow objects.

NEProvider

Base class for Network Extension Providers.

NEProxyServer

Settings for a proxy server.

NEProxySettings

HTTP proxy settings.

NETunnelNetworkSettings

Settings for a network tunnel.

NETunnelProvider

Base class for extensions that implement client-side ends of a network tunnel.

NETunnelProviderErrorExtensions

Extension methods for the NetworkExtension.NETunnelProviderError enumeration.

NETunnelProviderManager

Configures and controls a VPN connection.

NETunnelProviderProtocol

Base class for extensions that implement client-side ends of a network tunnel.

NETunnelProviderSession

Represents and controls the state of a network tunnel connection.

NEVpnConnection

Represents a Virtual Private Network connection

NEVpnConnection.Notifications

Contains notifications for NEVpnConnection objects.

NEVpnConnectionStartOptions
NEVpnErrorExtensions

Extension methods for the NetworkExtension.NEVpnError enumeration.

NEVpnIke2SecurityAssociationParameters

Holds the parameters for IKEv2 Security Association.

NEVpnManager

Manages and controls VPN configurations and connections.

NEVpnManager.Notifications

Contains notifications for NEVpnManager objects.

NEVpnProtocol

Holds protocol information for VPN connections

NEVpnProtocolIke2

IKEv2 protocol information for VPN connections

NEVpnProtocolIpSec

IPSec protocol information for VPN connections

NSMutableURLRequest_NEHotspotHelper

A reusable request for registering Wi-Fi hotspots.

NWBonjourServiceEndpoint

Description of a Bonjour service endpoint.

NWEndpoint

Base class for descriptions of network resources.

NWHostEndpoint

Description of a network endpoint that is identified by its hostname.

NWPath

Contains expense and status information about a network connection path.

NWTcpConnection

Connects to and sends and receives data from TCP network connections.

NWTcpConnectionAuthenticationDelegate

Class that handles authentication for network connections.

NWTcpConnectionAuthenticationDelegate_Extensions

Extension methods to the INWTcpConnectionAuthenticationDelegate interface to support all the methods from the NWTcpConnectionAuthenticationDelegate protocol.

NWTlsParameters

Contains transport layer security options.

NWUdpSession

Establishes a UDP connection and and transmits UDP data packets.

Interfaces

INWTcpConnectionAuthenticationDelegate

Interface representing the required methods (if any) of the protocol NWTcpConnectionAuthenticationDelegate.

Enums

NEAppProxyFlowError

Enumerates NEAppProxyFlow error codes.

NEDnsProxyManagerError

Enumerates errors relating to a DNS proxy.

NEEvaluateConnectionRuleAction

Enumerates behavior if the matching host name cannot be resolved.

NEFilterAction

Enumerates the actions to be taken when a NEFilterVerdict is that a report should be made.

NEFilterManagerError

Enumerates errors associated with NEFilterManager.

NEHotspotConfigurationEapTlsVersion
NEHotspotConfigurationEapType
NEHotspotConfigurationError

Enumerates errors relating to network hostpot configuration.

NEHotspotConfigurationTtlsInnerAuthenticationType
NEHotspotHelperCommandType

Enumerates commands that can be made to a Hotspot Helper to facilitate registering for Wi-Fi access.

NEHotspotHelperConfidence

Enumerates values that describe how likely a Hotspot Helper will be able to handle a network.

NEHotspotHelperResult

Enumerates Hotspot Helper command response results.

NEOnDemandRuleAction

Enumerates the Action values of a NEOnDemandRule.

NEOnDemandRuleInterfaceType

Enumerates the valid network interface types.

NEProviderStopReason

Enumerates reasons that a provider extension has stopped.

NETunnelProviderError

Enumerates network tunnel errors.

NETunnelProviderRoutingMethod

Enumerates tunnel routing methods.

NEVpnError

Enumeration of error conditions relating to the VPN configuration.

NEVpnIke2CertificateType

Enumerates the cryptographic algorithm associated with the certificate.

NEVpnIke2DeadPeerDetectionRate

Enumerates the frequencies with which the connection attempts to detect dead peers.

NEVpnIke2DiffieHellman

Enumeration of Diffie Hellman groups, which determine encryption strength.

NEVpnIke2EncryptionAlgorithm

Enumerates the algorithms that can be used for EncryptionAlgorithm.

NEVpnIke2IntegrityAlgorithm

Enumerates the valid integrity algorithms for IntegrityAlgorithm.

NEVpnIkeAuthenticationMethod

Enumerates supported techniques for authenticating Internet Key Exchange.

NEVpnIkev2TlsVersion
NEVpnStatus

Enumerates the state of a VPN connection.

NWPathStatus

Enumerates status information about network connection paths.

NWTcpConnectionState

Enumerates states that can be encountered while establishing a TCP connection.

NWUdpSessionState

Enumerates states that can be encountered while establishing a UDP connection.

Delegates

NEDatagramRead
NEHotspotHelperHandler

A command handler block for a Hotspot Helper.