Monday, December 7, 2009

Download Location of System.Net.WebClient.DownloadFile()

The file will be downloaded by the API depending on where the executing program is running.

i.e. if you have this method declared in a class library, and that class library is consumed in the main appplication, then the file will be downloaded in the main application's bin directory.