title: How to get XML from WebRequest in C#?
body: <p>I'm trying to use the following code to get XML data from an URL:</p>
  
  <pre><code>WebRequest webRequest = WebRequest.Create(Url);
  using (WebResponse webResponse = await webRequest.GetResponseAsync())
  {
      using (Stream responseStream = webResponse.GetResponseStream())
      {
          XmlDocument XmlDoc = new XmlDocument();
          XmlDoc.Load(webResponse); ////error
      }
  }
  </code></pre>
  
  <p>Visual Studio does not accept "XMLDoc.Load()" neither "XMLDoc.LoadXml()" - So, how can I get a xmldoc from webrequest?
  Thanks</p>