I would thank you if you help me with the next subject: I tried to download http file to c drive, but it did not work. Here is the code I wrote : Code: using System; using System.Collections.Generic; using System.Text; using System.Net; namespace t2 { class Program { static void Main(string[] args) { WebRequestMethods.File.DownloadFile("http://www.eng.tau.ac.il/students/forms/t4.pdf", "c:"); } } }
Please read the documentation properly, it says that WebRequestMethods.File.DownloadFile doesn't have a 2nd parameter!