using (var stream = new FileStream(path, FileMode.Open, FileAccess.ReadWrite))

{

    stream.Position = 24;

    stream.WriteByte(0x04);

}

 

+ Recent posts