xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 1.98MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-09-09
  • 語言: C#
  • 標簽: C#TrueCrypt??

資源簡介

C# 能調用的6個重要功能 1. 創建加密卷 2. 加載加密卷 3. 卸載加密卷 4. 修改密碼 5. 加載驅動 6. 安裝驅動

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.Linq;
using?System.Text;
using?System.Runtime.InteropServices;
using?System.Threading;
using?Microsoft.Win32;
using?System.IO;
using?System.ServiceProcess;

namespace?TestForms
{
????public?class?TrueCryptHelpt
????{
????????[DllImport(“TrueCryptFormat.dll“?EntryPoint?=?“FormatVolumeC“?CharSet?=?CharSet.Ansi?CallingConvention?=?CallingConvention.Cdecl)]
????????private?extern?static?int?FormatVolumeC(string?fileUrlstring?pwdint?size);

????????[DllImport(“TrueCrypt.dll“?EntryPoint?=?“MountVolumeC“?CharSet?=?CharSet.Ansi?CallingConvention?=?CallingConvention.Cdecl)]
????????private?extern?static?int?MountVolumeC(string?fileUrlstring?pwdint?driveNo);

????????[DllImport(“TrueCrypt.dll“?EntryPoint?=?“UnmountVolumeC“?CharSet?=?CharSet.Ansi?CallingConvention?=?CallingConvention.Cdecl)]
????????private?extern?static?int?UnmountVolumeC(int?driveNo);

????????[DllImport(“TrueCrypt.dll“?EntryPoint?=?“ChangePasswordC“?CharSet?=?CharSet.Ansi?CallingConvention?=?CallingConvention.Cdecl)]
????????private?extern?static?int?ChangePasswordC(string?szFile?string?szoldPassword?string?sznewPassowrd?IntPtr?hwndDlg);

????????[DllImport(“TrueCrypt.dll“?EntryPoint?=?“DriverLoadC“?CharSet?=?CharSet.Ansi?CallingConvention?=?CallingConvention.Cdecl)]
????????private?extern?static?int?DriverLoadC();

????????[DllImport(“TrueCrypt.dll“?EntryPoint?=?“DriverInstallC“?CharSet?=?CharSet.Ansi?CallingConvention?=?CallingConvention.Cdecl)]
????????private?extern?static?bool?DriverInstallC();

????????public?static?int?Format(string?fileUrlstring?pwdint?size)
????????{
????????????return?FormatVolumeC(fileUrlpwdsize);
????????}

????????public?static?int?Mount(string?fileUrl?string?pwd?int?driveNo)
????????{
????????????return?MountVolumeC(fileUrlpwddriveNo);
????????}

????????public?static?int?Unmount(int?driveNo)
????????{
????????????return?UnmountVolumeC(driveNo);
????????}

????????public?static?int?ChangePwd(string?szFile?string?szoldPassword?string?sznewPassword?IntPtr?intPtr)
????????{
????????????return?ChangePasswordC(szFile?szoldPassword?sznewPassword?intPtr);
????????}

????????public?static?int?StartDrvice()
????????{
????????????return?DriverLoadC();
????????}

????????public?static?bool?InstallDrvice()
????????{
????????????return?DriverInstallC();
????????}

????????public?static?bool?CheckRegedit()
????????{
????????????string?isUrl?=?@“SYSTEM\CurrentControlSet\Services“;
????????????string?itemName?=?“truecrypt“;
????????????RegistryKey?subKey?=?Registry.LocalMachine.OpenSubKey(isUrl);
????????????string[]?keyNames?=?subKey.GetSubKeyNames();
????????????subKey.Close();
????????????bool?result?=?false;
????????????foreach?(var?keyName?in?keyNames)
????????????{
????????????????if?(itemName.Equals(keyName))
????????????????{
????????????????????result?=?true;
????????????????????break;
?????

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????8448??2018-02-23?11:33??TrueCryptHelpt.cs
?????文件?????2522624??2018-02-07?15:40??TrueCryptFormat.dll
?????文件??????231376??2018-02-08?15:16??truecrypt-x64.sys
?????文件??????231376??2018-02-08?15:01??truecrypt.sys
?????文件?????2485248??2018-02-07?16:51??TrueCrypt.dll

評論

共有 條評論

相關資源