Edit a .gziped log text file in C#
<p>I receive logs which are .gz (zipped) and contain text files.</p>

<p>One field in the logs needs to be edited, present on every row, to contain some other data then what is currently present in the logs.</p>

<p>My thinking so far is to:</p>

<ol>
<li>Unzip file</li>
<li>Read it</li>
<li>Edit it</li>
<li>Write it</li>
<li>Rezip it</li>
</ol>

<p>But I guess there is a better way to do this, is there any on-the-fly reading/editing from .gz log files available in C#?</p>

<p>Thanks!</p>
