Edit

Share via


NWHostEndpoint.Create(String, String) Method

Definition

Creates and returns a new host endpoint with the provided values.

[Foundation.Export("endpointWithHostname:port:")]
public static NetworkExtension.NWHostEndpoint Create (string hostname, string port);
static member Create : string * string -> NetworkExtension.NWHostEndpoint

Parameters

hostname
String
port
String

Returns

Attributes

Applies to