title: Clear The Data In A Network Stream Without Disposing It
body: <p>How can you clear the data in a network stream without disposing it?</p>
  
  <pre><code>Dim ns As NetworkStream
  </code></pre>
  
  <p><strong>Edit:</strong></p>
  
  <p>Based on the comment below by <strong>James</strong>, it seems that this question is not yet answered properly.</p>
  
  <p>I thought doing:</p>
  
  <pre><code>ns = Nothing
  </code></pre>
  
  <p>would clear the network stream, but I was wrong.</p>