iOS Guides | Samples

MonoTouch.NetworkExtension.NEAppRule Class

Defines a rule that select network connections based on application signing identifier, application path, and/or hostname domain.

See Also: NEAppRule


[MonoTouch.Foundation.Register("NEAppRule", 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 NEAppRule : NSObject, INSCopying, INSSecureCoding, IDisposable

Related content


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

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

See Also: NSObject

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.
Creates a new app rule with the provided signing identifier.

Public Properties

ClassHandleIntPtr. The handle for this class.
MatchDomainsString[]. Gets a list of domains for which VPN connection is allowed.
MatchPathString. Gets or sets the path to the app that matches the rule.
MatchSigningIdentifierString. Gets the siging identifer of the app that the rule matched.

Public Methods

Copy(NSZone) : NSObject
Performs a copy of the underlying Objective-C object.