title: Download Stream with RestSharp and ResponseWriter
body: <p>I donwnload a stream with RestSharp by using the ResponseWriter.</p>
  
  <pre><code>var client = new RestClient
  var request = new RestRequest();
  // ...
  request.ResponseWriter = (ms) =&gt; {
    // how to detect the status code
  };
  var response = client.Execute(request);
  </code></pre>
  
  <p>How can I found out the HTTP Status Code in the ResponseWriter? 
  Is there a better way to download a Stream?</p>