## DnsEndPoint::get_Port method


Returns the port number.

```cpp
int32_t System::Net::DnsEndPoint::get_Port()
```


### ReturnValue

The port number.

## See Also

* Class [DnsEndPoint](../)
* Namespace [System::Net](../../)
* Library [Aspose.PDF for C++](../../../)
