NEPacketTunnelProvider Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides sockets by creating NEPacketTunnelFlow objects.
[Foundation.Register("NEPacketTunnelProvider", true)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public class NEPacketTunnelProvider : NetworkExtension.NETunnelProvider
type NEPacketTunnelProvider = class
inherit NETunnelProvider
- Inheritance
- Attributes
NEPacket |
Default constructor, initializes a new instance of this class. |
NEPacket |
A constructor used when creating managed representations of unmanaged objects; Called by the runtime. |
NEPacket |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
App |
Gets the rules that control which apps will use the tunneling session. (Inherited from NETunnelProvider) |
Class | (Inherited from NSObject) |
Class |
The handle for this class. |
Debug |
A developer-meaningful description of this object. (Inherited from NSObject) |
Default |
Gets the default connection path for new connections. (Inherited from NEProvider) |
Description |
Description of the object, the Objective-C version of ToString. (Inherited from NSObject) |
Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
Is |
(Inherited from NSObject) |
Is |
(Inherited from NSObject) |
Packet |
Gets the packet flow that receives IP packets and injects IP packets into the network. |
Protocol |
Gets the tunnel configuration. (Inherited from NETunnelProvider) |
Reasserting |
Gets or sets a Boolean value that tells the system that the tunnel is being reestablished. (Inherited from NETunnelProvider) |
Retain |
Returns the current Objective-C retain count for the object. (Inherited from NSObject) |
Routing |
Gets the routing method. (Inherited from NETunnelProvider) |
Self | (Inherited from NSObject) |
Superclass | (Inherited from NSObject) |
Super |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
Zone | (Inherited from NSObject) |
Add |
Registers an object for being observed externally (using NSString keyPath). Observed changes are dispatched to the observer’s object ObserveValue(NSString, NSObject, NSDictionary, IntPtr) method. (Inherited from NSObject) |
Add |
Registers an object for being observed externally (using string keyPath). Observed changes are dispatched to the observer’s object ObserveValue(NSString, NSObject, NSDictionary, IntPtr) method. (Inherited from NSObject) |
Add |
Registers an object for being observed externally using an arbitrary method. (Inherited from NSObject) |
Add |
Registers an object for being observed externally using an arbitrary method. (Inherited from NSObject) |
Awake |
Called after the object has been loaded from the nib file. Overriders must call base.AwakeFromNib(). (Inherited from NSObject) |
Begin |
(Inherited from NSObject) |
Begin |
Invokes asynchrously the specified code on the main UI thread. (Inherited from NSObject) |
Bind(NSString, NSObject, String, NSDictionary) | (Inherited from NSObject) |
Bind(String, NSObject, String, NSDictionary) |
Obsolete.
(Inherited from NSObject)
|
Binding |
Obsolete.
(Inherited from NSObject)
|
Binding |
Obsolete.
(Inherited from NSObject)
|
Binding |
Obsolete.
(Inherited from NSObject)
|
Cancel |
Cancels the tunnel with the specified error. |
Commit |
(Inherited from NSObject) |
Commit |
(Inherited from NSObject) |
Conforms |
Invoked to determine if this object implements the specified protocol. (Inherited from NSObject) |
Copy() |
Performs a copy of the underlying Objective-C object. (Inherited from NSObject) |
Create |
Creates a new tunneled TCP connection. |
Create |
Obsolete.
Creates a new tunneled TCP connection. |
Create |
Creates a TCP connection with the specified values. (Inherited from NEProvider) |
Create |
Creates a new tunneled UDP connection. |
Create |
Creates a UDP connection with the specified values. (Inherited from NEProvider) |
Dangerous |
(Inherited from NSObject) |
Dangerous |
(Inherited from NSObject) |
Dangerous |
(Inherited from NSObject) |
Did |
Indicates a change occurred to the indexes for a to-many relationship. (Inherited from NSObject) |
Did |
(Inherited from NSObject) |
Did |
Indicates that a change occurred on the specified key. (Inherited from NSObject) |
Display |
Displays a message to the user and passes a Boolean result to a completion handler when it is finished. (Inherited from NEProvider) |
Display |
Displays a message to the user and passes a Boolean result to a completion handler when it is finished. (Inherited from NEProvider) |
Dispose() |
Releases the resources used by the NSObject object. (Inherited from NSObject) |
Dispose(Boolean) |
Releases the resources used by the NSObject object. (Inherited from NSObject) |
Does |
Indicates that this object does not recognize the specified selector. (Inherited from NSObject) |
Equals(NSObject) | (Inherited from NSObject) |
Equals(Object) | (Inherited from NSObject) |
Exposed |
(Inherited from NSObject) |
Get |
(Inherited from NSObject) |
Get |
(Inherited from NSObject) |
Get |
(Inherited from NSObject) |
Get |
Retrieves the values of the specified keys. (Inherited from NSObject) |
Get |
Generates a hash code for the current instance. (Inherited from NSObject) |
Get |
(Inherited from NSObject) |
Get |
Obsolete.
(Inherited from NSObject)
|
Get |
(Inherited from NSObject) |
Handle |
Method that is called to handle messages from the containing app. (Inherited from NETunnelProvider) |
Handle |
Method that is called to handle messages from the containing app. (Inherited from NETunnelProvider) |
Init() | (Inherited from NSObject) |
Initialize |
(Inherited from NSObject) |
Initialize |
(Inherited from NSObject) |
Invoke(Action, Double) | (Inherited from NSObject) |
Invoke(Action, Time |
(Inherited from NSObject) |
Invoke |
(Inherited from NSObject) |
Invoke |
Invokes synchrously the specified code on the main UI thread. (Inherited from NSObject) |
Is |
(Inherited from NSObject) |
Is |
(Inherited from NSObject) |
Is |
(Inherited from NSObject) |
Mark |
Promotes a regular peer object (IsDirectBinding is true) into a toggleref object. (Inherited from NSObject) |
Mutable |
Creates a mutable copy of the specified NSObject. (Inherited from NSObject) |
Object |
(Inherited from NSObject) |
Observe |
Indicates that the value at the specified keyPath relative to this object has changed. (Inherited from NSObject) |
Perform |
(Inherited from NSObject) |
Perform |
Invokes the selector on the current instance and if the |
Perform |
(Inherited from NSObject) |
Perform |
(Inherited from NSObject) |
Perform |
(Inherited from NSObject) |
Perform |
(Inherited from NSObject) |
Perform |
(Inherited from NSObject) |
Prepare |
(Inherited from NSObject) |
Remove |
Stops the specified observer from receiving further notifications of changed values for the specified keyPath and context. (Inherited from NSObject) |
Remove |
Stops the specified observer from receiving further notifications of changed values for the specified keyPath. (Inherited from NSObject) |
Remove |
Stops the specified observer from receiving further notifications of changed values for the specified keyPath and context. (Inherited from NSObject) |
Remove |
Stops the specified observer from receiving further notifications of changed values for the specified keyPath. (Inherited from NSObject) |
Responds |
Whether this object recognizes the specified selector. (Inherited from NSObject) |
Set |
Obsolete.
(Inherited from NSObject)
|
Set |
Sets the value of the specified key to null. (Inherited from NSObject) |
Set |
Updates the network settings for the tunnel. (Inherited from NETunnelProvider) |
Set |
Updates the network settings for the tunnel. (Inherited from NETunnelProvider) |
Set |
Sets the value of the property specified by the key to the specified value. (Inherited from NSObject) |
Set |
A constructor used when creating managed representations of unmanaged objects; Called by the runtime. (Inherited from NSObject) |
Set |
Sets the value of a property that can be reached using a keypath. (Inherited from NSObject) |
Set |
Indicates an attempt to write a value to an undefined key. If not overridden, raises an NSUndefinedKeyException. (Inherited from NSObject) |
Set |
Sets the values of this NSObject to those in the specified dictionary. (Inherited from NSObject) |
Sleep(Action) |
Method that is called when the device is about to sleep. (Inherited from NEProvider) |
Sleep |
Method that is called when the device is about to sleep. (Inherited from NEProvider) |
Start |
Starts the tunnel. |
Start |
Starts the tunnel. |
Stop |
Stops the Tunnel. |
Stop |
Stops the Tunnel. |
To |
Returns a string representation of the value of the current instance. (Inherited from NSObject) |
Unbind(NSString) | (Inherited from NSObject) |
Unbind(String) |
Obsolete.
(Inherited from NSObject)
|
Value |
Returns the value of the property associated with the specified key. (Inherited from NSObject) |
Value |
Returns the value of a property that can be reached using a keypath. (Inherited from NSObject) |
Value |
Indicates an attempt to read a value of an undefined key. If not overridden, raises an NSUndefinedKeyException. (Inherited from NSObject) |
Wake() |
Method that is called when the device wakes. (Inherited from NEProvider) |
Will |
Indicates that the values of the specified indices in the specified key are about to change. (Inherited from NSObject) |
Will |
(Inherited from NSObject) |
Will |
Indicates that the value of the specified key is about to change. (Inherited from NSObject) |