Export (0) Print
Expand All

IPEndPoint.MaxPort Field

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

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

static val mutable MaxPort: int

The following example uses the MaxPort property to print the maximum value that can be assigned to the Port property.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft