Share via


IPEndPoint.Port Property

Gets the port number of the current endpoint.

Namespace: System.Net
Assembly: System (in system.dll)

Syntax

public int Port { get; }

Property Value

The port number of the current endpoint.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

IPEndPoint Class
IPEndPoint Members
System.Net Namespace