iOS Guides | Samples

MonoTouch.NetworkExtension.NETunnelProviderSession Class

Represents and controls the state of a network tunnel connection.

See Also: NETunnelProviderSession

Syntax

[MonoTouch.Foundation.Register("NETunnelProviderSession", 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 NETunnelProviderSession : NEVpnConnection

Related content

Requirements

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

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

See Also: NEVpnConnection

Public Constructors

Default constructor, initializes a new instance of this class.
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]
override
ClassHandleIntPtr. The handle for this class.

Public Methods

SendProviderMessage(NSData, out NSError, Action<MonoTouch.Foundation.NSData>) : Boolean
Sends the messageData to the Tunnel Provider extension.
StartTunnel(NSDictionary, out NSError) : Boolean
Begins connecting the tunnel.
StopTunnel()
Begins disconnecting the tunnel.