コード例 #1
0
        static void downloadfunction(object data)
        {
            parameterObject obj = (parameterObject)data;

            if (File.Exists(obj.savePath))
                return;

            using (WebDownload Client = new WebDownload(10000))
            {
                Client.DownloadFile(obj.url, obj.savePath);
            }
        }