資源簡介
文件加密后,會重命名原文件的后綴為.mr, 當你選擇該文件 進行解密時,輸入當時的密碼即可。
代碼片段和文件信息
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.Threading;
using?System.Security.Cryptography;
using?Microsoft.Win32;
namespace?ProtectFile
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
????????????CheckForIllegalCrossThreadCalls?=?false;
????????}
????????private?void?Form1_Load(object?sender?EventArgs?e)
????????{
????????????FileMenu(Application.ExecutablePath?+?“0“?Application.ExecutablePath);
????????????string[]?str?=?Environment.GetCommandLineArgs();
????????????try
????????????{
????????????????string?strFile?=?““;
??
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????10795??2008-12-16?09:10??文件加密\Backup\ProtectFile\Form1.cs
?????文件???????8291??2008-12-12?13:18??文件加密\Backup\ProtectFile\Form1.Designer.cs
?????文件???????6017??2008-12-12?13:18??文件加密\Backup\ProtectFile\Form1.resx
?????文件????????492??2008-12-11?14:05??文件加密\Backup\ProtectFile\Program.cs
?????文件???????1376??2008-12-11?14:06??文件加密\Backup\ProtectFile\Properties\AssemblyInfo.cs
?????文件???????2872??2008-12-11?14:05??文件加密\Backup\ProtectFile\Properties\Resources.Designer.cs
?????文件???????5612??2008-12-11?14:05??文件加密\Backup\ProtectFile\Properties\Resources.resx
?????文件???????1096??2008-12-11?14:05??文件加密\Backup\ProtectFile\Properties\Settings.Designer.cs
?????文件????????249??2008-12-11?14:05??文件加密\Backup\ProtectFile\Properties\Settings.settings
?????文件???????3888??2008-12-12?13:04??文件加密\Backup\ProtectFile\ProtectFile.csproj
?????文件????????766??2008-12-12?13:04??文件加密\Backup\ProtectFile\加密.ico
?????文件????????923??2008-12-11?14:05??文件加密\Backup\ProtectFile.sln
????..A..H.?????20480??2009-01-03?14:34??文件加密\Backup\ProtectFile.suo
?????文件??????16384??2018-04-09?16:25??文件加密\ProtectFile\bin\Debug\ProtectFile.exe
?????文件??????36352??2018-04-09?16:25??文件加密\ProtectFile\bin\Debug\ProtectFile.pdb
?????文件??????11608??2018-09-14?14:08??文件加密\ProtectFile\bin\Debug\ProtectFile.vshost.exe
?????文件????????490??2015-06-04?12:48??文件加密\ProtectFile\bin\Debug\ProtectFile.vshost.exe.manifest
?????文件????????766??2008-12-12?13:03??文件加密\ProtectFile\bin\Debug\加密.ico
?????文件??????10795??2008-12-16?09:10??文件加密\ProtectFile\Form1.cs
?????文件???????8291??2008-12-12?13:18??文件加密\ProtectFile\Form1.Designer.cs
?????文件???????6017??2008-12-12?13:18??文件加密\ProtectFile\Form1.resx
?????文件????????789??2018-09-14?14:06??文件加密\ProtectFile\obj\Debug\DesignTimeResolveAssemblyReferences.cache
?????文件???????6301??2018-09-14?14:06??文件加密\ProtectFile\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
?????文件???????2023??2018-09-14?14:08??文件加密\ProtectFile\obj\Debug\ProtectFile.csproj.FileListAbsolute.txt
?????文件????????847??2018-04-09?16:25??文件加密\ProtectFile\obj\Debug\ProtectFile.csproj.GenerateResource.Cache
?????文件??????16384??2018-04-09?16:25??文件加密\ProtectFile\obj\Debug\ProtectFile.exe
?????文件????????180??2018-04-09?16:25??文件加密\ProtectFile\obj\Debug\ProtectFile.Form1.resources
?????文件??????36352??2018-04-09?16:25??文件加密\ProtectFile\obj\Debug\ProtectFile.pdb
?????文件????????180??2018-04-09?16:25??文件加密\ProtectFile\obj\Debug\ProtectFile.Properties.Resources.resources
?????文件???????4608??2018-04-09?16:24??文件加密\ProtectFile\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll
............此處省略31個文件信息
- 上一篇:局域網IP掃描小工具(源碼)
- 下一篇:C#發送郵件(smtp)
評論
共有 條評論