• 大小: 152KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-05
  • 语言: C#
  • 标签: C#  UDPSocket  

资源简介

C# UDP(Socket)异步传输文件 上次放的简单

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using CSharpWin;
using System.Diagnostics;

namespace ReceiveFileDemo
{
    public partial class Form1 : Form
    {
        private UdpRecieveFile recieveFile;

        public Form1()
        {
            InitializeComponent();
            linkLabel1.Click += delegate(object sender EventArgs e)
            {
               Process.Start(“www.csharpwin.com“);
            };
        }

        private void button1_Click(object sender EventArgs e)
        {
            recieveFile = new UdpRecieveFile(
                Application.StartupPath 
                int.Parse(tbLocalPort.Text));
            recieveFile.Start();
        }
    }
}

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

     文件      20480  2010-02-25 13:32  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\bin\Debug\ReceiveFileDemo.exe

     文件      22016  2010-02-25 13:32  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\bin\Debug\ReceiveFileDemo.pdb

     文件      24576  2010-02-25 13:32  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\bin\Debug\UdpSendFile.dll

     文件      56832  2010-02-25 13:32  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\bin\Debug\UdpSendFile.pdb

     目录          0  2010-02-25 13:36  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\bin\Debug

     目录          0  2009-07-28 16:18  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\bin

     文件        847  2010-02-25 13:32  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\Form1.cs

     文件       4116  2009-07-28 17:00  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\Form1.Designer.cs

     文件       5814  2009-07-28 17:00  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\Form1.resx

     文件        842  2010-02-25 13:32  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\obj\Debug\ReceiveFileDemo.csproj.GenerateResource.Cache

     文件      20480  2010-02-25 13:32  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\obj\Debug\ReceiveFileDemo.exe

     文件        180  2010-02-25 13:32  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\obj\Debug\ReceiveFileDemo.Form1.resources

     文件      22016  2010-02-25 13:32  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\obj\Debug\ReceiveFileDemo.pdb

     文件        180  2010-02-25 13:32  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\obj\Debug\ReceiveFileDemo.Properties.Resources.resources

     目录          0  2009-07-28 16:18  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\obj\Debug\TempPE

     目录          0  2010-02-25 13:32  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\obj\Debug

     文件        378  2009-07-28 17:00  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\obj\ReceiveFileDemo.csproj.FileList.txt

     文件       1288  2010-02-25 13:32  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\obj\ReceiveFileDemo.csproj.FileListAbsolute.txt

     目录          0  2010-02-25 13:32  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\obj

     文件        474  2009-07-28 16:18  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\Program.cs

     文件       1214  2009-07-28 16:18  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\Properties\AssemblyInfo.cs

     文件       2885  2009-07-28 16:18  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\Properties\Resources.Designer.cs

     文件       5612  2009-07-28 16:18  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\Properties\Resources.resx

     文件       1099  2009-07-28 16:18  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\Properties\Settings.Designer.cs

     文件        249  2009-07-28 16:18  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\Properties\Settings.settings

     目录          0  2009-07-28 16:18  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\Properties

     文件       3473  2009-07-28 16:22  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo\ReceiveFileDemo.csproj

     目录          0  2010-02-25 13:32  C# UDP(Socket)异步传输文件\UdpSendFileDemo\ReceiveFileDemo

     文件      24576  2010-02-25 13:32  C# UDP(Socket)异步传输文件\UdpSendFileDemo\UdpSendFile\bin\Debug\UdpSendFile.dll

     文件      56832  2010-02-25 13:32  C# UDP(Socket)异步传输文件\UdpSendFileDemo\UdpSendFile\bin\Debug\UdpSendFile.pdb

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

评论

共有 条评论