StreamWriter not overwriting while writing a stream
<p>I have my code like this</p>

<pre><code>IsolatedStorageFileStream ostream = new IsolatedStorageFileStream("Conditions.txt", FileMode.Create, FileAccess.Write, store);

try
{
  StreamWriter swi = new StreamWriter(ostream);                        
  swi.WriteLine(System.DateTime.Now.Date.ToString());
  swi.Close();   
}
</code></pre>

<p>This is in a loop, in 2nd iteration when this code runs, streamwriter appends the time to the file, I want it to overwrite.</p>

<p>By giving false as a second parameter i can do that but that works only when we are passing path of the file to stringwriter as first parameter.</p>

<p>Can some one help me with this?</p>
