0
Answer

Read Xml from Http?

jcwright77

jcwright77

20y
1.4k
1
I have a little problem that I can't seem to get by. First, I know how to read an Xml file from the local hard drive: StreamReader stream = new StreamReader ("C:\\file.xml"); XmlTextReader reader = null; reader = new XmlTextReader (stream); This works from my hardrive. But say I have the location as "http://filelocation/file.xml"; How would I go about reading the file from this http site? Thanks.