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

Syntax

[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

Requirements

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

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

[read-only]
override
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.
[read-only]
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.