NetworkStream Properties

NetworkStream Properties

 

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

NameDescription
System_CAPS_pubpropertyCanRead

Gets a value that indicates whether the NetworkStream supports reading.(Overrides Stream.CanRead.)

System_CAPS_pubpropertyCanSeek

Gets a value that indicates whether the stream supports seeking. This property is not currently supported.This property always returns false.(Overrides Stream.CanSeek.)

System_CAPS_pubpropertyCanTimeout

Indicates whether timeout properties are usable for NetworkStream.(Overrides Stream.CanTimeout.)

System_CAPS_pubpropertyCanWrite

Gets a value that indicates whether the NetworkStream supports writing.(Overrides Stream.CanWrite.)

System_CAPS_pubpropertyDataAvailable

Gets a value that indicates whether data is available on the NetworkStream to be read.

System_CAPS_pubpropertyLength

Gets the length of the data available on the stream. This property is not currently supported and always throws a NotSupportedException.(Overrides Stream.Length.)

System_CAPS_pubpropertyPosition

Gets or sets the current position in the stream. This property is not currently supported and always throws a NotSupportedException.(Overrides Stream.Position.)

System_CAPS_protpropertyReadable

Gets or sets a value that indicates whether the NetworkStream can be read.

System_CAPS_pubpropertyReadTimeout

Gets or sets the amount of time that a read operation blocks waiting for data. (Overrides Stream.ReadTimeout.)

System_CAPS_protpropertySocket

Gets the underlying Socket.

System_CAPS_protpropertyWriteable

Gets a value that indicates whether the NetworkStream is writable.

System_CAPS_pubpropertyWriteTimeout

Gets or sets the amount of time that a write operation blocks waiting for data. (Overrides Stream.WriteTimeout.)

Return to top
Show:
© 2016 Microsoft