using (WebClient client = new WebClient()) { client.DownloadFile(biosUrl, biosPath); } }
public void DownloadPlugins() { // Download plugins string pluginUrl = PLUGIN_URL; string pluginPath = Path.Combine(Application.StartupPath, "plugins");
using (WebClient client = new WebClient()) { client.DownloadFile(pluginUrl, pluginPath); } }