This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public class CountingStream
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class CountingStream

The type exposes the following members.

Public Constructors

  Name Description
Public method CountingStream
Constructor

Public Methods

  Name Description
Public method BeginRead HostProtectionAttribute. (Inherited from Stream.)
Public method BeginWrite HostProtectionAttribute. (Inherited from Stream.)
Public method Close
Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.
(Overrides Stream..::Close()()()().)
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method Dispose Overloaded.
Public method EndRead (Inherited from Stream.)
Public method EndWrite (Inherited from Stream.)
Public method Equals (Inherited from Object.)
Public method Flush
Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
(Overrides Stream..::Flush()()()().)
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Public method GetType (Inherited from Object.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Public method Read
Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
(Overrides Stream..::Read(array<Byte>[]()[][], Int32, Int32).)
Public method ReadByte (Inherited from Stream.)
Public method Seek
Sets the position within the current stream.
(Overrides Stream..::Seek(Int64, SeekOrigin).)
Public method SetLength
Sets the length of the current stream.
(Overrides Stream..::SetLength(Int64).)
Public method ToString (Inherited from Object.)
Public method Write
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
(Overrides Stream..::Write(array<Byte>[]()[][], Int32, Int32).)
Public method WriteByte (Inherited from Stream.)

Protected Methods

  Name Description
Protected method CreateWaitHandle Obsolete. (Inherited from Stream.)
Protected method Dispose Overloaded.
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method MemberwiseClone (Inherited from MarshalByRefObject.)

Public Properties

  Name Description
Public property CanRead
Gets a value indicating whether the current stream supports reading.
(Overrides Stream..::CanRead.)
Public property CanSeek
Gets a value indicating whether the current stream supports seeking.
(Overrides Stream..::CanSeek.)
Public property CanTimeout (Inherited from Stream.)
Public property CanWrite
Gets a value indicating whether the current stream supports writing.
(Overrides Stream..::CanWrite.)
Public property Length
Gets the length in bytes of the stream.
(Overrides Stream..::Length.)
Public property Position
Gets or sets the position within the current stream.
(Overrides Stream..::Position.)
Public property ReadTimeout (Inherited from Stream.)
Public property WriteTimeout (Inherited from Stream.)

See Also

Advanced