iOS Guides | Samples

MonoTouch.NetworkExtension.NWHostEndpoint Class

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

See Also: NWHostEndpoint


[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


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

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

ClassHandleIntPtr. The handle for this class.
HostnameString. Gets the host name.
PortString. Gets the port.

Public Methods

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