NetworkStream Members
The following tables list the members exposed by the NetworkStream type.
Public Constructors
| Name | Description | |
|---|---|---|
![]() |
NetworkStream | Overloaded. Creates a new instance of the NetworkStream class. |
Public Properties
| Name | Description | |
|---|---|---|
![]() |
CanRead | Gets a flag that indicates whether the NetworkStream supports reading. |
![]() |
CanSeek | Gets a value that indicates whether the stream supports seeking. Not currently supported. |
![]() |
CanTimeout | Indicates whether timeout properties are usable for NetworkStream. |
![]() |
CanWrite | Gets a flag that indicates whether the NetworkStream supports writing. |
![]() |
DataAvailable | Gets a value that indicates whether data is available on the NetworkStream to be read. |
![]() |
Length | Gets the length of the data available on the stream. Not supported. |
![]() |
Position | Gets or sets the current position in the stream. Not supported. |
Protected Properties
| Name | Description | |
|---|---|---|
![]() |
Readable | Gets or sets a value that indicates whether the NetworkStream can be read. |
![]() |
Socket | Gets the underlying Socket. |
![]() |
Writeable | Gets or sets a value that indicates whether the NetworkStream is writable. |
Public Methods
| Name | Description | |
|---|---|---|
![]() |
Close | Overloaded. Closes the NetworkStream after waiting the specified time to allow data to be sent. |
![]() |
Dispose | Overloaded. Releases the unmanaged resources used by the NetworkStream and optionally releases the managed resources. |
![]() |
Flush | Flushes data from the stream. |
![]() |
Read | Reads data from the NetworkStream. |
![]() |
Seek | Sets the current position of the stream to the given value. Not supported. |
![]() |
SetLength | Sets the length of the stream. Not supported. |
![]() |
Write | Writes data to the NetworkStream. |
.gif)
.gif)
.gif)