91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

C#斷點續傳下載文件源碼,下載到一部分時,點擊取消,關掉應用程序,等下次再打開應用程序時,從上次下載的進度 開始下載

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Linq;
using?System.Text;
using?System.Windows.Forms;
using?System.IO;//引入輸入輸出功能
using?System.Net;//網絡請求
using?System.Text.Regularexpressions;//用于正則表達式字符串處理
using?System.Runtime.InteropServices;//引入WinAPI功能函數
using?System.Threading;//處理線程

namespace?DownLoadFile
{
????public?partial?class?MainFrm?:?Form
????{
????????public?MainFrm()
????????{
????????????InitializeComponent();
????????}

???????static?string?FileName?=?““;//記錄要下載的文件名
???????static?long?FileLength?=?0;?//記錄文件大小
???????static?long?count?=?0;
???????static?long?sPosstion?=?0;//本地已下載完的大小
????????private?void?Form1_Load(object?sender?EventArgs?e)
???????{
???????????try

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????22016??2012-10-12?02:42??斷點續傳下載文件\DownLoadFile\bin\Debug\DownLoadFile.exe

?????文件??????32256??2012-10-12?02:42??斷點續傳下載文件\DownLoadFile\bin\Debug\DownLoadFile.pdb

?????文件??????14328??2012-10-12?02:53??斷點續傳下載文件\DownLoadFile\bin\Debug\DownLoadFile.vshost.exe

?????文件????????138??2012-10-12?02:53??斷點續傳下載文件\DownLoadFile\bin\Debug\SysSet.ini

?????文件???????3893??2012-10-11?21:31??斷點續傳下載文件\DownLoadFile\DownLoadFile.csproj

?????文件???????9605??2012-10-12?02:53??斷點續傳下載文件\DownLoadFile\MainFrm.cs

?????文件???????7886??2012-10-12?01:37??斷點續傳下載文件\DownLoadFile\MainFrm.Designer.cs

?????文件???????6217??2012-10-12?01:37??斷點續傳下載文件\DownLoadFile\MainFrm.resx

?????文件???????2691??2012-10-12?02:53??斷點續傳下載文件\DownLoadFile\obj\Debug\DownLoadFile.csproj.FileListAbsolute.txt

?????文件??????22016??2012-10-12?02:42??斷點續傳下載文件\DownLoadFile\obj\Debug\DownLoadFile.exe

?????文件???????7778??2012-10-11?21:31??斷點續傳下載文件\DownLoadFile\obj\Debug\DownLoadFile.Properties.Resources.resources

?????文件???????4608??2012-10-11?21:28??斷點續傳下載文件\DownLoadFile\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll

?????文件????????180??2012-10-12?01:39??斷點續傳下載文件\DownLoadFile\obj\Debug\DownLoadFile.MainFrm.resources

?????文件????????947??2012-10-12?01:39??斷點續傳下載文件\DownLoadFile\obj\Debug\DownLoadFile.csproj.GenerateResource.Cache

?????文件??????32256??2012-10-12?02:42??斷點續傳下載文件\DownLoadFile\obj\Debug\DownLoadFile.pdb

?????文件????????495??2012-10-11?21:30??斷點續傳下載文件\DownLoadFile\Program.cs

?????文件???????1395??2008-12-18?14:42??斷點續傳下載文件\DownLoadFile\Properties\AssemblyInfo.cs

?????文件???????3099??2012-10-11?21:28??斷點續傳下載文件\DownLoadFile\Properties\Resources.Designer.cs

?????文件???????6199??2012-10-11?21:28??斷點續傳下載文件\DownLoadFile\Properties\Resources.resx

?????文件???????1097??2008-12-18?13:10??斷點續傳下載文件\DownLoadFile\Properties\Settings.Designer.cs

?????文件????????249??2008-12-18?13:10??斷點續傳下載文件\DownLoadFile\Properties\Settings.settings

?????文件???????7306??2012-10-11?21:28??斷點續傳下載文件\DownLoadFile\Resources\header.bmp

?????文件????????926??2008-12-18?13:10??斷點續傳下載文件\DownLoadFile.sln

????..A..H.?????19456??2012-10-12?02:52??斷點續傳下載文件\DownLoadFile.suo

?????目錄??????????0??2012-10-11?21:18??斷點續傳下載文件\DownLoadFile\obj\Debug\TempPE

?????目錄??????????0??2012-10-11?21:30??斷點續傳下載文件\DownLoadFile\obj\Debug\Refactor

?????目錄??????????0??2012-04-24?19:56??斷點續傳下載文件\DownLoadFile\bin\Debug

?????目錄??????????0??2012-04-24?19:56??斷點續傳下載文件\DownLoadFile\obj\Debug

?????目錄??????????0??2010-12-12?01:01??斷點續傳下載文件\DownLoadFile\bin

?????目錄??????????0??2010-12-12?01:01??斷點續傳下載文件\DownLoadFile\obj

............此處省略7個文件信息

評論

共有 條評論