IpEndPoint WithPort Method C# API
Initialises a new instance of the IpEndPoint class, which is a copy of this IpEndPoint object, and sets the specified port number.

Namespace: Facilita.Native
Assembly: clrNativeWrapper (in clrNativeWrapper.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public IpEndPoint WithPort(
	int port
)

Parameters

port
Type: System Int32
The new port number.

Return Value

A new IpEndPoint object.
See Also