title: find out how many bytes have been written to a filestream
body: <p>I am using <code>FileStream.Write()</code> method for a server\client program. I am trying to find out if all the bytes have been written to the <code>FileStream</code> by using 
  " <code>int byteswritten = FileStream.Write(bytes1,0,bytes1.length);</code>"
  I have noticed the FileStream.Read() method supports this feature but the FileStream.Write() method does not. does this method always write the bytes? If not then why isn't this supported?</p>