You can fast forward the stream when reading via the Seek
method. Then use the BinaryReader
's ReadBytes
method to read the bytes from that offset.
using (var br = new BinaryReader(stream)) {
br.BaseStream.Seek(0x32500, SeekOrigin.Begin);
var bytes = br.ReadBytes(0x3256F - 0x32500);
if (bytes.All(x => x == 0)) {
label.Text = "No";
}
}