iOS Guides | Samples

MonoTouch.NetworkExtension.NETunnelProvider Class

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

See Also: NETunnelProvider

Syntax

[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

Requirements

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

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

[read-only]
AppRulesNEAppRule[]. Gets the rules that control which apps will use the tunneling session.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
ProtocolConfigurationNEVpnProtocol. Gets the tunnel configuration.
ReassertingBoolean. Gets or sets a Boolean value that tells the system that the tunnel is being reestablished.
[read-only]
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.