CY_ZZJY.Licences/MainForm.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace CY_ZZJY.Licences
{
public partial class MainForm : Form
{
public MainForm()
{
InitializeComponent();
this.btn_Get.Click += new EventHandler(btn_Get_Click);
this.btn_JieMi.Click += new EventHandler(btn_JieMi_Click);
}
//解密
void btn_JieMi_Click(object sender, EventArgs e)
{
#region 生成许可
if (string.IsNullOrEmpty(this.txt_Result.Text))
MessageBox.Show("请输入要解密的内容!", "提示信息");
else
this.txt_jiemi.Text = CY_ZZJY.Utilities.DESEncrypt.Decrypt(this.txt_Result.Text);
#endregion
}
//加密
void btn_Get_Click(object sender, EventArgs e)
{
this.txt_Result.Text = string.Empty;
this.txt_CPU_ID.Text = CY_ZZJY.Utilities.Licences.GetProcessID();
this.txt_HardDiskID.Text = CY_ZZJY.Utilities.Licences.GetHardDiskID();
this.txt_NetwordAdapter.Text = CY_ZZJY.Utilities.Licences.GetNetwordAdapter();
#region 生成许可
string strResult = string.Format("{0}|{1}|{2}|{3}-{4}", this.txt_CPU_ID.Text, this.txt_HardDiskID.Text, this.txt_NetwordAdapter.Text, this.Start_DateTime.Text.Trim(), this.End_DateTime.Text.Trim());
this.txt_Result.Text = CY_ZZJY.Utilities.DESEncrypt.Encrypt(strResult);
#endregion
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。