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)

Syntax

Public Overridable ReadOnly Property BaseStream As Stream
public virtual Stream BaseStream { get; }

Property Value

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

Remarks

Warning

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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

BinaryReader Class

System.IO Namespace