资源简介
类似加密狗的简单功能实现。使软件只能在当前电脑上使用,更换电脑后无法使用,更改系统时间也无效。
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WindowsFormsApplication1
{
class CPUAndHardDisk
{
mac cpu1 = new mac();
public string cpu(string str)
{
//string result = null;
string Cpu = null;
try
{
foreach (int str1 in str) //字符串转成十进制,进行加或者减
{
Cpu = Cpu + ((char)(str1 + 5)).ToString();
}
Cpu = Cpu.Substring(1 8);
}
catch (Exception ex)
{ }
return mac.Encodebase64(Encoding.UTF8 Cpu);
}
public string harddisk(string str)
{
//string result = null;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-07-18 16:12 绑定\
目录 0 2018-07-18 16:12 绑定\.vs\
目录 0 2018-07-18 16:12 绑定\.vs\WindowsFormsApplication1\
目录 0 2018-07-18 16:12 绑定\.vs\WindowsFormsApplication1\v15\
文件 86528 2018-07-18 16:18 绑定\.vs\WindowsFormsApplication1\v15\.suo
目录 0 2018-07-18 16:12 绑定\.vs\WindowsFormsApplication1\v15\Server\
目录 0 2018-07-18 16:18 绑定\.vs\WindowsFormsApplication1\v15\Server\sqlite3\
文件 0 2018-07-18 16:12 绑定\.vs\WindowsFormsApplication1\v15\Server\sqlite3\db.lock
文件 602112 2018-07-18 16:18 绑定\.vs\WindowsFormsApplication1\v15\Server\sqlite3\storage.ide
目录 0 2018-03-08 15:43 绑定\WindowsFormsApplication1\
文件 1277 2015-07-13 10:54 绑定\WindowsFormsApplication1\CPUAndHardDisk.cs
文件 1481 2015-07-13 10:54 绑定\WindowsFormsApplication1\Form1.Designer.cs
文件 10570 2016-03-22 14:15 绑定\WindowsFormsApplication1\Form1.cs
文件 5817 2015-07-13 10:54 绑定\WindowsFormsApplication1\Form1.resx
文件 505 2015-07-13 10:54 绑定\WindowsFormsApplication1\Program.cs
目录 0 2018-03-08 15:43 绑定\WindowsFormsApplication1\Properties\
文件 1390 2015-07-13 10:54 绑定\WindowsFormsApplication1\Properties\AssemblyInfo.cs
文件 2900 2015-07-13 10:54 绑定\WindowsFormsApplication1\Properties\Resources.Designer.cs
文件 5612 2015-07-13 10:54 绑定\WindowsFormsApplication1\Properties\Resources.resx
文件 1111 2015-07-13 10:54 绑定\WindowsFormsApplication1\Properties\Settings.Designer.cs
文件 249 2015-07-13 10:54 绑定\WindowsFormsApplication1\Properties\Settings.settings
文件 2423 2015-08-17 09:51 绑定\WindowsFormsApplication1\Properties\app.manifest
文件 1222 2015-07-13 10:54 绑定\WindowsFormsApplication1\ReadWriteiniDate.cs
文件 4349 2016-08-03 11:54 绑定\WindowsFormsApplication1\WindowsFormsApplication1.csproj
文件 2562 2016-08-03 11:54 绑定\WindowsFormsApplication1\app.manifest
目录 0 2018-03-08 15:43 绑定\WindowsFormsApplication1\bin\
目录 0 2018-03-08 15:43 绑定\WindowsFormsApplication1\bin\Debug\
文件 15872 2016-08-03 11:54 绑定\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe
文件 46592 2016-08-03 11:54 绑定\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.pdb
文件 22984 2016-08-03 14:29 绑定\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe
文件 2562 2016-08-03 11:54 绑定\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.manifest
............此处省略23个文件信息
相关资源
- 医院药库管理系统
- ASP.NET程序设计实验报告期末课程设计
- C#写的Windows文件资源管理器
- C#小区物业管理系完整源码(vs2003)
- C# 微信企业号验证源码MVC版+webForm版
- WPF开发框架源码 交通建设管理系统架
- C#.NET物流管理系统源码
- C#经典会员管理项目完整源码(包含完
- C#开发巴斯勒相机SDK
- C#中PDF文件转WORD文件2019
- 中控考勤机开发文件 +sdk+文档+各种(
- C#高级编程第10版英文原版
- c#入门经典 第七版 中文版 非扫描版
- Web程序设计ASP.NET实用网站开发 沈士根
- .netc#新手菜鸟mvc5的仓库管理系统 so
- C# NPOI生成word插入图片和表格
- C#程序设计基础C#程序设计及应用教程
- 深入.NET平台和C#编程
- 淘宝客小程序+后端.zip
- .net 美萍超市管理系统源码C#
- WinForm GeckoFx33 Demo JS与C#互交 窗口浏览
- 《ASP.NET程序设计项目教程》周虎,王
- 计算机图形学 三维模型处理算法初步
- C# KTV 点歌系统,C#项目源码带数据库
- C#实验--A.1 视频动态绘制练习.
- c#实现动态规划法——求解矩阵连乘问
- c#winform中完美代替WebBrowser最新的控件
- C#高级编程第9版:C#5.0 & .NET 4.5.1 par
- Illustrated C# 2010 C# 4.0图解教程
- C# WINFORM框架源碼
评论
共有 条评论