Click or drag to resize
BinaryReaderReadUInt32 Method
Reads a 4-byte unsigned integer from the current stream and advances the position of the stream by four bytes.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public virtual uint ReadUInt32()

Return Value

Type: UInt32
A 4-byte unsigned integer read from this stream.
Exceptions
ExceptionCondition
EndOfStreamExceptionThe end of the stream is reached.
ObjectDisposedExceptionThe stream is closed.
IOExceptionAn I/O error occurs.
See Also