Lecture overview -- Keyboard shortcut: 'u'  Previous page: The most important members in class Stream -- Keyboard shortcut: 'p'  Next page: Example: Filestreams -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 5 : 40
Object-oriented Programming in C#
Input and Output Classes
Subclasses of class Stream

There exists a number of non-abstract subclasses of Stream in the namespace System.IO and in other namespaces

  • System.IO.FileStream

    • Provides a stream backed by a file from the operating system

  • System.IO.BufferedStream

    • Encapsulates buffering around another stream

  • System.IO.MemoryStream

    • Provides a stream backed by RAM memory

  • System.Net.Sockets.NetworkStream

    • Encapsulates a socket connection as a stream

  • System.IO.Compression.GZipStream

    • Provides stream access to compressed data

  • System.Security.Cryptography.CryptoStream

    • Write encrypts and Read decrypts

  • And others...