DnsEndPoint::Port Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the port number of the DnsEndPoint.

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

public:
property int Port {
	int 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: