NWHostEndpoint.Create(String, String) Method
Definition
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.
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