Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.IO;
- using System.Linq;
- using System.Net;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace DownloadTest
- {
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- private void button1_Click(object sender, EventArgs e)
- {
- WebClient downloadL = new WebClient();
- downloadL.DownloadFile("https://dl.dropbox.com/u/8167722/OP.zip", @"Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData))");
- //ma to byt takto? nebo... bez @ a ""? Ale když to dám bez, tak nemá přístup do složky... A nejede ani 1.
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment