>>479
stream.Position = 0;