Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DnsEndPoint.Port Property

Gets the port number of the DnsEndPoint.

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

member Port : int with get

Property Value

Type: System.Int32
An integer value in the range 0 to 0xffff indicating the port number of the DnsEndPoint.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

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