Exemplo n.º 1
0
 private XmlNodeList GetXml(string url)
 {
     // given a url, retrieves the xml result set and returns the nodelist of Item objects
       WebGrabber grabber = new WebGrabber(url)
       {
     MaxRetries = 10,
     Timeout = 5000,
     TimeoutIncrement = 1000,
     Encoding = Encoding.UTF8
       };
       return grabber.GetResponse() ? grabber.GetXML() : null;
 }