-
大小: 294KB文件類型: .rar金幣: 2下載: 0 次發(fā)布日期: 2021-06-10
- 語言: 其他
- 標(biāo)簽:
資源簡介
主要是獲取本機CPU的信息,并且根據(jù)CPU信息加密成注冊機。做成類似于注冊機的功能.先獲取CPU機械碼,然后生成注冊碼,然后提交進行比對。注冊碼主要是使用MD5生成一重加密,然后再使用自人定義的方式重新對生成的MD5進行二次加密。此資源缺少數(shù)據(jù)庫以及其他的文件,其中有一個或者CPU的類庫文件,可以直接生成dll進行調(diào)用

代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Linq;
using?System.Text;
using?System.Data.SqlClient;
using?System.Data;
using?System.IO;
namespace?EasySalesSystem
{
????public?class?Class1
????{
????????public?static?string?M_str_sqlcon?=?““;
????????public?static?string?Login_ID?=?““;
????????public?static?string?Login_Name?=?““;
????????public?static?SqlConnection?My_con;
????????public?static?SqlConnection?getcon()
????????{
????????????My_con?=?new?SqlConnection(M_str_sqlcon);
????????????My_con.Open();
????????????return?My_con;
????????}
????????public?void?Conntxt()
????????{
????????????string?databse;
????????????string?password;
????????????string?server;
????????????string?ip;
????????????string?SQLuser;
????????????string[]?str?=?File.ReadAllLines(@“Conn.txt“?Encoding.UTF8);
????????????databse?=?str[1];
????????????server?=?str[3];
????????????ip?=?str[5];
????????????password?=?str[7];
????????????SQLuser?=?str[9];
M_str_sqlcon?=?“Data?Source=“?+?ip?+?“;Initial?Catalog=“?+?databse?+?“;user=“?+?SQLuser?+?“;password=“?+?password?+?““;
????????}
????????public?void?con_open()
????????{
????????????getcon();
????????}
????????public?void?con_close()
????????{
????????????if?(My_con.State?==?ConnectionState.Open)
????????????{
????????????????My_con.Close();
????????????????My_con.Dispose();
????????????}
????????}
????????public?SqlDataReader?getcom(string?SQLstr)
????????{
????????????getcon();
????????????SqlCommand?My_com?=?My_con.CreateCommand();
????????????My_com.CommandText?=?SQLstr;
????????????SqlDataReader?My_read?=?My_com.ExecuteReader();
????????????return?My_read;
????????}
????????public?void?getsqlcom(string?SQLstr)
????????{
????????????getcon();
????????????SqlCommand?SQLcom?=?new?SqlCommand(SQLstr?My_con);
????????????SQLcom.ExecuteNonQuery();
????????????SQLcom.Dispose();
????????????con_close();
????????}
????????public?DataSet?getDataSet(string?SQLstr?string?tableName)
????????{
????????????getcon();
????????????SqlDataAdapter?SQLda?=?new?SqlDataAdapter(SQLstr?My_con);
????????????DataSet?My_DataSet?=?new?DataSet();
????????????SQLda.Fill(My_DataSet?tableName);
????????????con_close();
????????????return?My_DataSet;
????????}
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????????97??2018-03-31?10:40??EasySalesSystem\EasySalesSystem\bin\Debug\Conn.txt
?????文件??????12800??2018-03-31?10:37??EasySalesSystem\EasySalesSystem\bin\Debug\EasySalesSystem.dll
?????文件??????26112??2018-03-31?10:37??EasySalesSystem\EasySalesSystem\bin\Debug\EasySalesSystem.pdb
?????文件??????13824??2018-04-18?10:03??EasySalesSystem\EasySalesSystem\bin\x86\Debug\EasySalesSystem.dll
?????文件??????22016??2018-04-18?10:03??EasySalesSystem\EasySalesSystem\bin\x86\Debug\EasySalesSystem.pdb
?????文件???????2325??2018-03-31?10:10??EasySalesSystem\EasySalesSystem\Class1.cs
?????文件????????645??2018-03-31?10:10??EasySalesSystem\EasySalesSystem\DataManger\AccountID.cs
?????文件????????800??2018-03-31?10:10??EasySalesSystem\EasySalesSystem\DataManger\Addstocks.cs
?????文件????????592??2018-03-31?10:10??EasySalesSystem\EasySalesSystem\DataManger\Company.cs
?????文件????????547??2018-04-07?14:23??EasySalesSystem\EasySalesSystem\DataManger\Stocks.cs
?????文件????????664??2018-03-31?10:10??EasySalesSystem\EasySalesSystem\EasySalesCpu.cs
?????文件????????902??2018-03-31?10:28??EasySalesSystem\EasySalesSystem\EasySalesGetCPU.cs
?????文件???????3800??2018-03-31?10:28??EasySalesSystem\EasySalesSystem\EasySalesSystem.csproj
?????文件????????406??2018-03-31?10:37??EasySalesSystem\EasySalesSystem\obj\Debug\EasySalesSystem.csproj.FileListAbsolute.txt
?????文件??????12800??2018-03-31?10:37??EasySalesSystem\EasySalesSystem\obj\Debug\EasySalesSystem.dll
?????文件??????26112??2018-03-31?10:37??EasySalesSystem\EasySalesSystem\obj\Debug\EasySalesSystem.pdb
?????文件????????426??2018-04-18?10:03??EasySalesSystem\EasySalesSystem\obj\x86\Debug\EasySalesSystem.csproj.FileListAbsolute.txt
?????文件??????13824??2018-04-18?10:03??EasySalesSystem\EasySalesSystem\obj\x86\Debug\EasySalesSystem.dll
?????文件??????22016??2018-04-18?10:03??EasySalesSystem\EasySalesSystem\obj\x86\Debug\EasySalesSystem.pdb
?????文件???????6144??2018-04-07?09:08??EasySalesSystem\EasySalesSystem\obj\x86\Debug\Refactor\EasySalesSystem.dll
?????文件???????1372??2018-03-12?08:13??EasySalesSystem\EasySalesSystem\Properties\AssemblyInfo.cs
?????文件???????5000??2018-04-18?10:01??EasySalesSystem\EasySalesSystem\SqlSystem.cs
?????文件???????1927??2018-03-12?14:47??EasySalesSystem\EasySalesSystem.sln
????..A..H.?????56320??2018-04-18?10:06??EasySalesSystem\EasySalesSystem.suo
?????文件?????????78??2018-04-07?08:33??EasySalesSystem\FMSystem\bin\Debug\Conn.txt
?????文件??????13824??2018-04-18?10:03??EasySalesSystem\FMSystem\bin\Debug\EasySalesSystem.dll
?????文件??????22016??2018-04-18?10:03??EasySalesSystem\FMSystem\bin\Debug\EasySalesSystem.pdb
?????文件??????11776??2018-04-18?10:03??EasySalesSystem\FMSystem\bin\Debug\FMSystem.exe
?????文件??????24064??2018-04-18?10:03??EasySalesSystem\FMSystem\bin\Debug\FMSystem.pdb
?????文件??????11600??2018-04-18?10:05??EasySalesSystem\FMSystem\bin\Debug\FMSystem.vshost.exe
............此處省略88個文件信息
- 上一篇:tfn2k.rar
- 下一篇:WIN7激活程序.exe
評論
共有 條評論