PowerTCP Mail for .NET
EnhancedStream Class
Members  See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace : EnhancedStream Class




Adds new methods on top of the Stream interface for type conversion, stream copying, and saving.

Object Model

EnhancedStream Class

Syntax

Visual Basic (Declaration) 
Public MustInherit Class EnhancedStream 
   Inherits System.IO.Stream
Visual Basic (Usage)Copy Code
Dim instance As EnhancedStream
C# 
public abstract class EnhancedStream : System.IO.Stream 
Managed Extensions for C++ 
public __gc abstract class EnhancedStream : public System.IO.Stream 
C++/CLI 
public ref class EnhancedStream abstract : public System.IO.Stream 

Remarks

Inherit from this abstract class to create a Stream class with enhanced methods. For example, EnhancedStream.Save allows you to save Stream data directly to a file. EnhancedStream.ToString returns a string representation of the data contained within the Stream.

All PowerTCP Stream classes (such as SegmentedStream, PipeStream) inherit from this class to provide the enhanced capabilities described above to these classes.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.IO.Stream
         Dart.PowerTCP.Mail.EnhancedStream
            Dart.PowerTCP.Mail.PipeStream
            Dart.PowerTCP.Mail.TcpStream

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.