DnsEndPoint.Port Property

 

Gets the port number of the DnsEndPoint.

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

public int Port { get; }

Property Value

Type: System.Int32

An integer value in the range 0 to 0xffff indicating the port number of the DnsEndPoint.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show: