• 大小: 0.41M
    文件类型: .zip
    金币: 2
    下载: 4 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: Licence  机器  授权码  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Globalization;
using System.IO;
using System.Security.Cryptography;
using System.Windows.Forms;
namespace Register
{
public class AppRegister
{
private static string publicKey = “wziOjY9W7c7GNEXeALzrPLNsx8fP8S9v38yCRAIdzbUhAm2tAC42aScmQcU3P8TK+oliBgljegARjuzfpIodjAQjPxAXF73pLjkhA93sRloWiombm4rYuPtPSmiDlI82ZCP3dkWh1u/UORT7L+PKIa5nnZwYhrZeBaLF6bbmct8=AQAB“;
private static FrmRegistercs frm = null;
public static bool checkLicence(string softwareCode)
{
bool result;
try
{
string cpuID = RSAHelper.GetCpuID();
string localMac = RSAHelper.GetLocalMac();
string hardID = RSAHelper.GetHardID();
string text = RSAHelper.Encodebase64(“utf-8“ localMac + sof

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-03-25 14:36  ApplicationRegister\
     文件        1894  2016-03-25 14:56  ApplicationRegister\ApplicationRegister.csproj
     目录           0  2016-03-25 14:36  ApplicationRegister\bin\
     目录           0  2016-03-25 16:02  ApplicationRegister\bin\Debug\
     文件       29696  2016-03-25 16:02  ApplicationRegister\bin\Debug\ApplicationRegister.dll
     文件       77312  2016-03-25 16:02  ApplicationRegister\bin\Debug\ApplicationRegister.pdb
     目录           0  2016-03-25 14:36  ApplicationRegister\obj\
     目录           0  2016-03-25 16:02  ApplicationRegister\obj\Debug\
     文件         628  2016-03-25 16:02  ApplicationRegister\obj\Debug\ApplicationRegister.csproj.FileListAbsolute.txt
     文件        1455  2016-03-25 16:02  ApplicationRegister\obj\Debug\ApplicationRegister.csprojResolveAssemblyReference.cache
     文件       29696  2016-03-25 16:02  ApplicationRegister\obj\Debug\ApplicationRegister.dll
     文件       77312  2016-03-25 16:02  ApplicationRegister\obj\Debug\ApplicationRegister.pdb
     文件         865  2016-03-25 15:18  ApplicationRegister\obj\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        6275  2016-03-25 14:36  ApplicationRegister\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     目录           0  2016-03-25 14:36  ApplicationRegister\obj\Debug\TempPE\
     目录           0  2016-03-25 15:19  ApplicationRegister\Register\
     文件        2464  2016-03-25 14:22  ApplicationRegister\Register\AppRegister.cs
     文件       49557  2016-03-25 15:17  ApplicationRegister\Register\BigInteger.cs
     文件        3017  2016-03-25 15:19  ApplicationRegister\Register\FrmRegistercs.cs
     文件         180  2016-03-25 14:22  ApplicationRegister\Register\FrmRegistercs.resources
     文件        7646  2016-03-25 14:22  ApplicationRegister\Register\RSAHelper.cs
     目录           0  2016-03-25 16:09  pdfPrint\
     文件        2660  2016-03-25 16:02  pdfPrint.sln
     文件       39424  2015-12-23 14:44  pdfPrint\ApplicationRegister.dll
     目录           0  2016-03-25 09:49  pdfPrint\bin\
     目录           0  2016-03-25 16:02  pdfPrint\bin\Debug\
     文件       29696  2016-03-25 16:02  pdfPrint\bin\Debug\ApplicationRegister.dll
     文件       77312  2016-03-25 16:02  pdfPrint\bin\Debug\ApplicationRegister.pdb
     文件      284160  2015-09-10 09:03  pdfPrint\bin\Debug\DocX.dll
     文件       13312  2016-03-25 16:28  pdfPrint\bin\Debug\pdfPrint.exe
     文件       28160  2016-03-25 16:28  pdfPrint\bin\Debug\pdfPrint.pdb
............此处省略29个文件信息

评论

共有 条评论