iOS Guides | Samples

MonoTouch.NetworkExtension.NETunnelProvider Class

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

See Also: NETunnelProvider


[MonoTouch.Foundation.Register("NETunnelProvider", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 9, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.MacOSX, 10, 11, MonoTouch.ObjCRuntime.PlatformArchitecture.Arch64, null)]
public class NETunnelProvider : NEProvider

Related content


Namespace: MonoTouch.NetworkExtension
Assembly: monotouch (in monotouch.dll)
Assembly Versions:

The members of MonoTouch.NetworkExtension.NETunnelProvider are listed below.

See Also: NEProvider

Public Constructors

A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

AppRulesNEAppRule[]. Gets the rules that control which apps will use the tunneling session.
ClassHandleIntPtr. The handle for this class.
ProtocolConfigurationNEVpnProtocol. Gets the tunnel configuration.
ReassertingBoolean. Gets or sets a Boolean value that tells the system that the tunnel is being reestablished.
RoutingMethodNETunnelProviderRoutingMethod. Gets the routing method.

Public Methods

HandleAppMessage(NSData, Action<MonoTouch.Foundation.NSData>)
Method that is called to handle messages from the containing app.
HandleAppMessageAsync(NSData) : System.Threading.Tasks.Task<MonoTouch.Foundation.NSData>
Method that is called to handle messages from the containing app.
SetTunnelNetworkSettings(NETunnelNetworkSettings, Action<MonoTouch.Foundation.NSError>)
Updates the network settings for the tunnel.
SetTunnelNetworkSettingsAsync(NETunnelNetworkSettings) : Task
Updates the network settings for the tunnel.