iOS Guides | Samples

MonoTouch.NetworkExtension.NEAppProxyProvider Class

Provides sockets by creating NEAppProxyFlow objects.

See Also: NEAppProxyProvider

Syntax

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

Related content

Requirements

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

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

See Also: NETunnelProvider

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]
override
ClassHandleIntPtr. The handle for this class.

Public Methods

CancelProxy(NSError)
Cancels the proxy witht the specified error.
HandleNewFlow(NEAppProxyFlow) : Boolean
Handles the provided proxy flow.
StartProxy(NSDictionary, Action<MonoTouch.Foundation.NSError>)
Starts the proxy and runs completionHandler after the operation is complete.
StartProxyAsync(NSDictionary) : Task
Starts the proxy and runs after the operation is complete.
StopProxy(NEProviderStopReason, Action)
Stops the proxy with the specified reason and runs completionHanler when the operation is complete.
StopProxyAsync(NEProviderStopReason) : Task
Stops the proxy with the specified and runs when the operation is complete.