is there any way to clear the buffer of a System.IO.StreamWriter so that it does not do a flush when

  • Thread starter Thread starter Daniel
  • Start date Start date
D

Daniel

is there any way to clear the buffer of a System.IO.StreamWriter so that it
does not do a flush when it is closed in the finaly block?
 
because if i try to open the same file when the network drive is reconnected
it says "file in use by another process" and is stuck in that state until i
restart my .net process
 
Why do you keep posting the same question over and over again. I replied to
the same question a couple of weaks ago and I replied to the message you
posted two hours ago, do you ever read these replies?

Willy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top