• 大小: 0.05M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-02-26
  • 语言: C#
  • 标签: 模拟  下载  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Net;
using System.IO;
using System.Net.NetworkInformation;


namespace WebDownload
{
    public partial class WebDownLoad : Form
    {
        public WebDownLoad()
        {
            InitializeComponent();
        }

        private void WebDownLoad_Load(object sender EventArgs e)
        {

        }
        //这个
        private void btnDown_Click(object sender EventArgs e)
        {
            WebClient WebClient = new WebClient();
            WebClient.DownloadFile(“http://localhost:8080/w-brand.png“ “web.jpg“);
            this.picShowImage.ImageLocation = “web.jpg“;
        }

        private void btnping_Click(object sender EventArgs e)
        {
            Ping p = new Ping();
            if (this.txtip.Text =

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        187  2014-05-07 11:01  WebDownload\WebDownload\App.config

     文件       9728  2014-05-09 10:08  WebDownload\WebDownload\bin\Debug\WebDownload.exe

     文件        187  2014-05-07 11:01  WebDownload\WebDownload\bin\Debug\WebDownload.exe.config

     文件      26112  2014-05-09 10:08  WebDownload\WebDownload\bin\Debug\WebDownload.pdb

     文件      22984  2014-05-09 10:09  WebDownload\WebDownload\bin\Debug\WebDownload.vshost.exe

     文件        187  2014-05-07 11:01  WebDownload\WebDownload\bin\Debug\WebDownload.vshost.exe.config

     文件        490  2013-06-18 20:28  WebDownload\WebDownload\bin\Debug\WebDownload.vshost.exe.manifest

     文件       1514  2014-05-09 09:11  WebDownload\WebDownload\Form1.cs

     文件       3938  2014-05-07 12:06  WebDownload\WebDownload\Form1.Designer.cs

     文件       5817  2014-05-07 12:06  WebDownload\WebDownload\Form1.resx

     文件       1308  2014-05-07 12:25  WebDownload\WebDownload\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7136  2014-05-07 11:05  WebDownload\WebDownload\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件          0  2014-05-07 11:02  WebDownload\WebDownload\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2014-05-07 11:02  WebDownload\WebDownload\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

     文件          0  2014-05-07 11:02  WebDownload\WebDownload\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

     文件       1101  2014-05-09 10:09  WebDownload\WebDownload\obj\Debug\WebDownload.csproj.FileListAbsolute.txt

     文件        975  2014-05-07 12:06  WebDownload\WebDownload\obj\Debug\WebDownload.csproj.GenerateResource.Cache

     文件       2209  2014-05-07 11:19  WebDownload\WebDownload\obj\Debug\WebDownload.csprojResolveAssemblyReference.cache

     文件       9728  2014-05-09 10:08  WebDownload\WebDownload\obj\Debug\WebDownload.exe

     文件      26112  2014-05-09 10:08  WebDownload\WebDownload\obj\Debug\WebDownload.pdb

     文件        180  2014-05-07 11:19  WebDownload\WebDownload\obj\Debug\WebDownload.Properties.Resources.resources

     文件        180  2014-05-07 12:06  WebDownload\WebDownload\obj\Debug\WebDownload.WebDownLoad.resources

     文件        529  2014-05-07 11:05  WebDownload\WebDownload\Program.cs

     文件       1342  2014-05-07 11:02  WebDownload\WebDownload\Properties\AssemblyInfo.cs

     文件       2874  2014-05-07 11:02  WebDownload\WebDownload\Properties\Resources.Designer.cs

     文件       5612  2014-05-07 11:01  WebDownload\WebDownload\Properties\Resources.resx

     文件       1098  2014-05-07 11:02  WebDownload\WebDownload\Properties\Settings.Designer.cs

     文件        249  2014-05-07 11:01  WebDownload\WebDownload\Properties\Settings.settings

     文件       3801  2014-05-07 11:19  WebDownload\WebDownload\WebDownload.csproj

     文件        923  2014-05-07 11:02  WebDownload\WebDownload.sln

............此处省略12个文件信息

评论

共有 条评论