title: Get Error number in WebException Error
body: <p>How To Get Error number in WebException Error?</p>
  
  <pre><code>try
  {
       HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create("site");
       HttpWebResponse response = (HttpWebResponse)request.GetResponse();
       Stream stream = response.GetResponseStream();
       int i = stream.ReadByte();
  }
  catch (WebException e)
  {
       //How To Get Error number in WebException Error?
  }
  </code></pre>