System.Net.Sockets.NetworkStream.Socket Property

Gets the underlying System.Net.Sockets.Socket.

Syntax

protected Socket Socket { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Classes deriving from System.Net.Sockets.NetworkStream can use this property to get the underlying System.Net.Sockets.Socket. Use the underlying System.Net.Sockets.Socket returned from the NetworkStream.Socket property if you require access beyond that which System.Net.Sockets.NetworkStream provides.

Note:

This property is accessible only through this class or a derived class.

Requirements

Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0