NetworkStream Members
Public Constructors
NetworkStream Constructor Supported by the .NET Compact Framework. | Overloaded. Creates a new instance of the NetworkStream class. |
Public Properties
CanRead Supported by the .NET Compact Framework. | Overridden. Gets a value indicating whether the NetworkStream supports reading. |
CanSeek Supported by the .NET Compact Framework. | Overridden. Gets a value indicating whether the stream supports seeking. This property always returns false. |
CanWrite Supported by the .NET Compact Framework. | Overridden. Gets a value that indicates whether the NetworkStream supports writing. |
DataAvailable Supported by the .NET Compact Framework. | Gets a value indicating whether data is available on the NetworkStream to be read. |
Length Supported by the .NET Compact Framework. | Overridden. Gets the length of the data available on the stream. This property always throws a NotSupportedException. |
Position Supported by the .NET Compact Framework. | Overridden. Gets or sets the current position in the stream. This property always throws a NotSupportedException. |
Public Methods
BeginRead Supported by the .NET Compact Framework. | Overridden. Begins an asynchronous read from the NetworkStream. |
BeginWrite Supported by the .NET Compact Framework. | Overridden. Begins an asynchronous write to a stream. |
Close Supported by the .NET Compact Framework. | Overridden. Closes the NetworkStream. |
CreateObjRef (inherited from MarshalByRefObject) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. |
EndRead Supported by the .NET Compact Framework. | Overridden. Handles the end of an asynchronous read. |
EndWrite Supported by the .NET Compact Framework. | Overridden. Handles the end of an asynchronous write. |
Equals (inherited from Object)
Supported by the .NET Compact Framework. | Overloaded. Determines whether two Object instances are equal. |
Flush Supported by the .NET Compact Framework. | Overridden. Flushes data from the stream. This method is reserved for future use. |
GetHashCode (inherited from Object)
Supported by the .NET Compact Framework. | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetLifetimeService (inherited from MarshalByRefObject) | Retrieves the current lifetime service object that controls the lifetime policy for this instance. |
GetType (inherited from Object)
Supported by the .NET Compact Framework. | Gets the Type of the current instance. |
InitializeLifetimeService (inherited from MarshalByRefObject) | Obtains a lifetime service object to control the lifetime policy for this instance. |
Read Supported by the .NET Compact Framework. | Overridden. Reads data from the NetworkStream. |
ReadByte (inherited from Stream)
Supported by the .NET Compact Framework. | Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream. |
Seek Supported by the .NET Compact Framework. | Overridden. Sets the current position of the stream to the given value. This method always throws a NotSupportedException. |
SetLength Supported by the .NET Compact Framework. | Overridden. Sets the length of the stream. This method always throws a NotSupportedException. |
ToString (inherited from Object)
Supported by the .NET Compact Framework. | Returns a String that represents the current Object. |
Write Supported by the .NET Compact Framework. | Overridden. Writes data to the NetworkStream. |
WriteByte (inherited from Stream)
Supported by the .NET Compact Framework. | Writes a byte to the current position in the stream and advances the position within the stream by one byte. |
Protected Properties
Readable | Gets or sets a value indicating whether the NetworkStream can be read. |
Socket | Gets the underlying Socket. |
Writeable | Gets a value that indicates whether the NetworkStream is writable. |
Protected Methods
CreateWaitHandle (inherited from Stream)
Supported by the .NET Compact Framework. | Allocates a WaitHandle object. |
Dispose Supported by the .NET Compact Framework. | Releases the unmanaged resources used by the NetworkStream and optionally releases the managed resources. |
Finalize Supported by the .NET Compact Framework. | Overridden. Releases all resources used by the NetworkStream.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. | Creates a shallow copy of the current Object. |
