資源簡介
C# 掃描本地電腦指定類型的文件
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?System.IO;
using?System.Threading;
namespace?文件掃描器
{
????public?partial?class?frmFileSeek?:?Form
????{
????????public?frmFileSeek()
????????{
????????????InitializeComponent();
????????????Control.CheckForIllegalCrossThreadCalls?=?false;?
????????}
????????private?void?frmFileSeek_Load(object?sender?EventArgs?e)
????????{
????????????getDiskInfo();//獲取電腦上面的所有邏輯驅動器
????????????cboxDisk.SelectedIndex?=?0;
????????????cboxExtention.SelectedIndex?=?0;
????????????lvResult.FullRowSelect?=?true;
????????}
????????private?void?getDiskInfo()
????????{
????????????string[]?disks?=?Directory.GetLog
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????934??2009-10-07?22:04??文件掃描器\文件掃描器.sln
????..A..H.?????14848??2010-12-05?16:44??文件掃描器\文件掃描器.suo
?????文件???????5176??2010-08-25?15:49??文件掃描器\文件掃描器\frmFileSeek.cs
?????文件??????11712??2010-08-24?21:39??文件掃描器\文件掃描器\frmFileSeek.Designer.cs
?????文件??????11012??2010-08-24?21:39??文件掃描器\文件掃描器\frmFileSeek.resx
?????文件????????480??2009-10-07?22:21??文件掃描器\文件掃描器\Program.cs
?????文件???????3393??2009-10-07?22:25??文件掃描器\文件掃描器\文件掃描器.csproj
?????文件???????3262??2009-10-07?22:06??文件掃描器\文件掃描器\聯系人.ico
?????文件???????1196??2009-10-08?21:28??文件掃描器\文件掃描器\Properties\AssemblyInfo.cs
?????文件???????2884??2009-10-07?22:04??文件掃描器\文件掃描器\Properties\Resources.Designer.cs
?????文件???????5612??2009-10-07?22:04??文件掃描器\文件掃描器\Properties\Resources.resx
?????文件???????1098??2009-10-07?22:04??文件掃描器\文件掃描器\Properties\Settings.Designer.cs
?????文件????????249??2009-10-07?22:04??文件掃描器\文件掃描器\Properties\Settings.settings
?????文件????????330??2010-12-05?16:26??文件掃描器\文件掃描器\obj\文件掃描器.csproj.FileList.txt
?????文件????????848??2010-08-24?21:39??文件掃描器\文件掃描器\obj\Debug\文件掃描器.csproj.GenerateResource.Cache
?????文件??????32768??2010-08-25?15:49??文件掃描器\文件掃描器\obj\Debug\文件掃描器.exe
?????文件???????3828??2010-08-24?21:39??文件掃描器\文件掃描器\obj\Debug\文件掃描器.frmFileSeek.resources
?????文件??????28160??2010-08-25?15:49??文件掃描器\文件掃描器\obj\Debug\文件掃描器.pdb
?????文件????????180??2009-10-07?22:25??文件掃描器\文件掃描器\obj\Debug\文件掃描器.Properties.Resources.resources
?????文件??????32768??2010-08-25?15:49??文件掃描器\文件掃描器\bin\Debug\文件掃描器.exe
?????文件??????28160??2010-08-25?15:49??文件掃描器\文件掃描器\bin\Debug\文件掃描器.pdb
?????文件???????5632??2005-11-11?22:25??文件掃描器\文件掃描器\bin\Debug\文件掃描器.vshost.exe
?????目錄??????????0??2010-12-03?11:22??文件掃描器\文件掃描器\obj\Debug\TempPE
?????目錄??????????0??2010-12-03?11:22??文件掃描器\文件掃描器\obj\Debug\Refactor
?????目錄??????????0??2010-12-03?11:22??文件掃描器\文件掃描器\obj\Debug
?????目錄??????????0??2010-12-03?11:22??文件掃描器\文件掃描器\bin\Debug
?????目錄??????????0??2010-12-03?11:22??文件掃描器\文件掃描器\Properties
?????目錄??????????0??2010-12-03?11:22??文件掃描器\文件掃描器\obj
?????目錄??????????0??2010-12-03?11:22??文件掃描器\文件掃描器\bin
?????目錄??????????0??2010-12-03?11:22??文件掃描器\文件掃描器
............此處省略4個文件信息
- 上一篇:C#編寫植物大戰僵尸外掛源碼
- 下一篇:三層架構應用
評論
共有 條評論