iOS Guides | Samples

MonoTouch.NetworkExtension.NEVpnConnection Class

Represents a Virtual Private Network connection

See Also: NEVpnConnection


[MonoTouch.Foundation.Register("NEVPNConnection", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 8, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.MacOSX, 10, 10, MonoTouch.ObjCRuntime.PlatformArchitecture.Arch64, null)]
public class NEVpnConnection : NSObject

Related content


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

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

See Also: NSObject

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

ClassHandleIntPtr. The handle for this class.
ConnectedDateNSDate. Gets the date and time when the VPN connected.
ManagerNEVpnManager. Gets the VPN manager.
StatusNEVpnStatus. Gets the VPN connection status.
StatusDidChangeNotificationNSString. Notification constant for StatusDidChange

Public Methods

StartVpnTunnel(out NSError) : Boolean
Begins connecting the VPN.
StartVpnTunnel(NEVpnConnectionStartOptions, out NSError) : Boolean
Begins connecting the VPN.
Begins disconnecting the VPN.