J
Jeff
hey
..NET 2.0
In my code I've been accessing a xml file like this:
string url = <url> // for example http://www.test.com/default.xml
XmlReader reader = XmlReader.Create(url);
But now I need to add the User-Agent to this request. the Url I request
doesn't work if I don't provide the User-Agent info also...
Any ideas on how to add the User-Agent to the url?
..NET 2.0
In my code I've been accessing a xml file like this:
string url = <url> // for example http://www.test.com/default.xml
XmlReader reader = XmlReader.Create(url);
But now I need to add the User-Agent to this request. the Url I request
doesn't work if I don't provide the User-Agent info also...
Any ideas on how to add the User-Agent to the url?