get_Socket()

NetworkStream::get_Socket() method

Gets the underlying Socket.

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

Return Value

A Socket object that represents the underlying network connection.

See Also