BaseStream Property
Collapse the table of content
Expand the table of content

BinaryReader.BaseStream Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Exposes access to the underlying stream of the BinaryReader.

Namespace:  System.IO
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public Overridable ReadOnly Property BaseStream As Stream

Property Value

Type: System.IO.Stream
The underlying stream associated with the BinaryReader.

Caution noteCaution:

Using the underlying stream while reading or while using the BinaryReader can cause data loss and corruption. For example, the same bytes might be read more than once, bytes might be skipped, or character reading might become unpredictable.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft