iOS Guides | Samples

MonoTouch.NetworkExtension.NETunnelProviderManager Class

Configures and controls a VPN connection.

See Also: NETunnelProviderManager

Syntax

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

Related content

Requirements

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

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

See Also: NEVpnManager

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 a copy of the rules that control which apps can use the tunnel.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
static
ErrorDomainNSString. Gets the error domain for the error.
[read-only]
RoutingMethodNETunnelProviderRoutingMethod. Gets or sets the routing method.

Public Methods

static
LoadAllFromPreferences(Action<MonoTouch.Foundation.NSArray, MonoTouch.Foundation.NSError>)
Loads all of the calling app's VPN configurations from the Network Extension preferences and runs a completion handler when the operation is complete.
static
LoadAllFromPreferencesAsync() : System.Threading.Tasks.Task<MonoTouch.Foundation.NSArray>
Loads all of the calling app's VPN configurations from the Network Extension preferences and runs a completion handler when the operation is complete.