Reputation: 8410
How can i get xml files from a web site and save it on pc. what is easy way with C# ?
Upvotes: 1
Views: 1195
Reputation: 11358
Use WebClient from the .NET library:
WebClient Client = new WebClient(); Client.DownloadFile("http://foo.bar", @"C:\filename.xml");
Upvotes: 5