iOS Guides | Samples

MonoTouch.NetworkExtension.NWHostEndpoint Class

Description of a network endpoint that is identified by its hostname.

See Also: NWHostEndpoint

Syntax

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

Related content

Requirements

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

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

See Also: NWEndpoint

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

[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
HostnameString. Gets the host name.
[read-only]
PortString. Gets the port.

Public Methods

static
Create(String, String) : NWHostEndpoint
Creates and returns a new host endpoint with the provided values.