实例介绍
基于c#的P2P文件传输,可以实现文件传输
【实例截图】
【核心代码】
FileSharing
├── 安装
│ ├── 客户端
│ │ ├── C08setup.exe
│ │ └── FileSharing_Setup.msi
│ └── 服务器端
│ ├── C08setup.exe
│ └── FileSharing Server Setup.msi
├── 文档
│ ├── 测试分析报告.doc
│ ├── 概要设计说明书.doc
│ ├── 详细设计说明书.doc
│ ├── 软件需求说明书.doc
│ ├── 作品简介和创意说明.doc
│ └── 作品安装部署和使用说明.doc
└── 源程序
├── FileSharing_System
│ ├── FileSharing Explorer
│ │ ├── FileSharing Explorer
│ │ │ ├── FileSharing Explorer.csproj
│ │ │ ├── FileSharing Explorer.csproj.user
│ │ │ ├── LinkForm.Designer.cs
│ │ │ ├── LinkForm.cs
│ │ │ ├── LinkForm.resx
│ │ │ ├── Program.cs
│ │ │ ├── Properties
│ │ │ │ ├── AssemblyInfo.cs
│ │ │ │ ├── Resources.Designer.cs
│ │ │ │ ├── Resources.resx
│ │ │ │ ├── Settings.Designer.cs
│ │ │ │ ├── Settings.settings
│ │ │ │ └── app.manifest
│ │ │ ├── SETIP.resx
│ │ │ ├── Search.Designer.cs
│ │ │ ├── Search.cs
│ │ │ ├── Search.resx
│ │ │ ├── ServerError.resx
│ │ │ ├── Waiting.Designer.cs
│ │ │ ├── Waiting.cs
│ │ │ ├── Waiting.resx
│ │ │ ├── app.config
│ │ │ ├── bin
│ │ │ │ └── Debug
│ │ │ │ ├── FileSharing Explorer.exe
│ │ │ │ ├── FileSharing Explorer.exe.config
│ │ │ │ ├── FileSharing Explorer.pdb
│ │ │ │ ├── FileSharing Explorer.vshost.exe
│ │ │ │ ├── FileSharing Explorer.vshost.exe.config
│ │ │ │ ├── FileSharing_System.vshost.exe.config
│ │ │ │ ├── FileTransfer.dll
│ │ │ │ ├── FileTransfer.pdb
│ │ │ │ ├── LocalClient.dll
│ │ │ │ ├── LocalClient.pdb
│ │ │ │ ├── LocalSearch.dll
│ │ │ │ ├── LocalSearch.pdb
│ │ │ │ ├── Log.txt
│ │ │ │ ├── RemoteSearch.dll
│ │ │ │ ├── RemoteSearch.pdb
│ │ │ │ ├── Skins
│ │ │ │ │ ├── Button1.png
│ │ │ │ │ ├── Button2.png
│ │ │ │ │ ├── Button3.png
│ │ │ │ │ ├── Document Blank.ico
│ │ │ │ │ ├── Favourites.ico
│ │ │ │ │ ├── Help.ico
│ │ │ │ │ ├── ICON.png
│ │ │ │ │ ├── Orange Joy Folder Closed.ico
│ │ │ │ │ ├── Orange Joy MSN messanger.ico
│ │ │ │ │ ├── Recent Documents.ico
│ │ │ │ │ ├── Run.ico
│ │ │ │ │ ├── add file.ico
│ │ │ │ │ ├── add.ico
│ │ │ │ │ ├── addd.ico
│ │ │ │ │ ├── back.png
│ │ │ │ │ ├── backresult.png
│ │ │ │ │ ├── close.png
│ │ │ │ │ ├── close2.png
│ │ │ │ │ ├── continue.png
│ │ │ │ │ ├── download.png
│ │ │ │ │ ├── folder doc.ico
│ │ │ │ │ ├── folder.ico
│ │ │ │ │ ├── formbackground.png
│ │ │ │ │ ├── login.png
│ │ │ │ │ ├── menu.png
│ │ │ │ │ ├── menu1.png
│ │ │ │ │ ├── menu2.png
│ │ │ │ │ ├── minisize.png
│ │ │ │ │ ├── minisize2.png
│ │ │ │ │ ├── pause.png
│ │ │ │ │ ├── shared.png
│ │ │ │ │ └── stop.png
│ │ │ │ ├── Sound
│ │ │ │ │ └── DownLoad.WAV
│ │ │ │ ├── TransferThreadManage.dll
│ │ │ │ ├── TransferThreadManage.pdb
│ │ │ │ └── 使用说明.doc
│ │ │ └── obj
│ │ │ ├── Debug
│ │ │ │ ├── FileSharing Explorer.csproj.GenerateResource.Cache
│ │ │ │ ├── FileSharing Explorer.exe
│ │ │ │ ├── FileSharing Explorer.pdb
│ │ │ │ ├── FileSharing_Explorer.LinkForm.resources
│ │ │ │ ├── FileSharing_Explorer.Properties.Resources.resources
│ │ │ │ ├── FileSharing_Explorer.Search.resources
│ │ │ │ ├── FileSharing_Explorer.Waiting.resources
│ │ │ │ ├── FileSharing_System.csproj.GenerateResource.Cache
│ │ │ │ ├── ResolveAssemblyReference.cache
│ │ │ │ └── TempPE
│ │ │ │ └── Properties.Resources.Designer.cs.dll
│ │ │ ├── FileSharing Explorer.csproj.FileList.txt
│ │ │ ├── FileSharing Explorer.csproj.FileListAbsolute.txt
│ │ │ └── FileSharing_System.csproj.FileListAbsolute.txt
│ │ ├── FileSharing Explorer.sln
│ │ ├── FileSharing Explorer.suo
│ │ └── FileSharing_Setup
│ │ ├── Debug
│ │ │ ├── C08setup.exe
│ │ │ └── FileSharing_Setup.msi
│ │ └── FileSharing_Setup.vdproj
│ └── FileSharing_Server
│ ├── FileSharing Server Setup
│ │ ├── Debug
│ │ │ ├── C08setup.exe
│ │ │ └── FileSharing Server Setup.msi
│ │ └── FileSharing Server Setup.vdproj
│ ├── FileSharing_Server
│ │ ├── Client.cs
│ │ ├── FileSharing_Server.csproj
│ │ ├── Program.cs
│ │ ├── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ ├── Resources.Designer.cs
│ │ │ ├── Resources.resx
│ │ │ ├── Settings.Designer.cs
│ │ │ └── Settings.settings
│ │ ├── ServerForm.Designer.cs
│ │ ├── ServerForm.cs
│ │ ├── ServerForm.resx
│ │ ├── app.config
│ │ ├── bin
│ │ │ └── Debug
│ │ │ ├── FileSharing_Server.exe
│ │ │ ├── FileSharing_Server.exe.config
│ │ │ ├── FileSharing_Server.pdb
│ │ │ ├── FileSharing_Server.vshost.exe
│ │ │ ├── FileSharing_Server.vshost.exe.config
│ │ │ └── Run.ico
│ │ └── obj
│ │ ├── Debug
│ │ │ ├── FileSharing_Server.Form1.resources
│ │ │ ├── FileSharing_Server.Properties.Resources.resources
│ │ │ ├── FileSharing_Server.ServerForm.resources
│ │ │ ├── FileSharing_Server.csproj.GenerateResource.Cache
│ │ │ ├── FileSharing_Server.exe
│ │ │ └── FileSharing_Server.pdb
│ │ ├── FileSharing_Server.csproj.FileList.txt
│ │ └── FileSharing_Server.csproj.FileListAbsolute.txt
│ ├── FileSharing_Server.sln
│ └── FileSharing_Server.suo
└── 程序中涉及到的组件
├── FileTransfer
│ ├── FileTransfer
│ │ ├── FileTransfer.csproj
│ │ ├── FileTransfering.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── bin
│ │ │ └── Debug
│ │ │ ├── FileTransfer.dll
│ │ │ └── FileTransfer.pdb
│ │ └── obj
│ │ ├── Debug
│ │ │ ├── FileTransfer.dll
│ │ │ ├── FileTransfer.pdb
│ │ │ └── ResolveAssemblyReference.cache
│ │ ├── FileTransfer.csproj.FileList.txt
│ │ └── FileTransfer.csproj.FileListAbsolute.txt
│ ├── FileTransfer.sln
│ └── FileTransfer.suo
├── LocalClient
│ ├── LocalClient
│ │ ├── Client.cs
│ │ ├── LocalClient.csproj
│ │ ├── LocalListen.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── bin
│ │ │ └── Debug
│ │ │ ├── FileTransfer.dll
│ │ │ ├── FileTransfer.pdb
│ │ │ ├── LocalClient.dll
│ │ │ ├── LocalClient.pdb
│ │ │ ├── TransferThreadManage.dll
│ │ │ └── TransferThreadManage.pdb
│ │ └── obj
│ │ ├── Debug
│ │ │ ├── LocalClient.dll
│ │ │ ├── LocalClient.pdb
│ │ │ └── ResolveAssemblyReference.cache
│ │ ├── LocalClient.csproj.FileList.txt
│ │ └── LocalClient.csproj.FileListAbsolute.txt
│ ├── LocalClient.sln
│ └── LocalClient.suo
├── LocalSearch
│ ├── LocalSearch
│ │ ├── LocalSearch.csproj
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── Search.cs
│ │ ├── bin
│ │ │ └── Debug
│ │ │ ├── LocalSearch.dll
│ │ │ └── LocalSearch.pdb
│ │ └── obj
│ │ ├── Debug
│ │ │ ├── LocalSearch.dll
│ │ │ └── LocalSearch.pdb
│ │ ├── LocalSearch.csproj.FileList.txt
│ │ └── LocalSearch.csproj.FileListAbsolute.txt
│ ├── LocalSearch.sln
│ └── LocalSearch.suo
├── RemoteSearch
│ ├── RemoteSearch
│ │ ├── BeginSearch.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── RemoteSearch.csproj
│ │ ├── bin
│ │ │ └── Debug
│ │ │ ├── RemoteSearch.dll
│ │ │ └── RemoteSearch.pdb
│ │ └── obj
│ │ ├── Debug
│ │ │ ├── RemoteSearch.dll
│ │ │ └── RemoteSearch.pdb
│ │ ├── RemoteSearch.csproj.FileList.txt
│ │ └── RemoteSearch.csproj.FileListAbsolute.txt
│ ├── RemoteSearch.sln
│ └── RemoteSearch.suo
└── TransferThreadManage
├── TransferThreadManage
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── TransferThread.cs
│ ├── TransferThreadManage.csproj
│ ├── bin
│ │ └── Debug
│ │ ├── TransferThreadManage.dll
│ │ └── TransferThreadManage.pdb
│ └── obj
│ ├── Debug
│ │ ├── ResolveAssemblyReference.cache
│ │ ├── TransferThreadManage.dll
│ │ └── TransferThreadManage.pdb
│ └── TransferThreadManage.csproj.FileListAbsolute.txt
├── TransferThreadManage.sln
└── TransferThreadManage.suo
63 directories, 193 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论