## NetworkStream::get_Socket method


获取底层的 [Socket](../../socket/)。

```cpp
System::SharedPtr<System::Net::Sockets::Socket> System::Net::Sockets::NetworkStream::get_Socket()
```


### ReturnValue

一个表示底层网络连接的 [Socket](../../socket/) 对象。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Socket](../../socket/)
* Class [NetworkStream](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.Font for C++](../../../)
