title: Diagnostic dump of HttpWebRequest object
body: <p>Is there any good way (other than tediously querying each property) to build a diagnostic dump string for an HttpWebRequest in C#?  For simple objects one can get away with using <code>new JObject(theObject)</code>, but that doesn't work for HttpWebRequest (and <code>toString</code> is, of course, as useless on HttpWebRequest as it is on any C# object).</p>
  
  <p>Is there any general way to do this for any subset of C# objects (other than using <code>new JObject</code> as I already mentioned)?</p>
  
  <p><strong>Update:</strong>  I've found that using JsonConvert.SerializeObject (one suggestion in Hans' link) does a decent job of dumping the HttpWebRequest (though it doesn't get the request stream).  And I kind of got the System.Net.Tracing stuff to work (though the documentation, as usual for .NET stuff, sucks royally).</p>