System.Net.IPEndPoint.MaxPort Field

Specifies the maximum value that can be assigned to the IPEndPoint.Port property. The MaxPort value is set to 0x0000FFFF. This field is read-only.

Value: 65535

Syntax

public const int MaxPort

Remarks

This field is read-only. The value of this field is 65535.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0