- 博客(11)
- 资源 (2)
- 收藏
- 关注
原创 C# 利用并行技术判断素数源码
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Threading;using System.Diagnostics;namespace PrimeNnmber{ class...
2019-05-14 16:55:02 161
原创 C# Linq to sql用例源码
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace CreateStudentTable{ class Program { static void Main(str...
2019-05-12 22:12:00 352
原创 C# MD5对硬件信息加密生成注册码源码
/*1、获取计算机硬件信息,用户把该硬件信息发送给软件发行商2、发行商根据硬件信息加密生成注册码,发送给用户;3、用户在使用软件时提供注册码,软件解密注册码获取到的信息和硬件信息对比是否一致*/using System;using System.Collections.Generic;using System.ComponentModel;using System.Dat...
2019-05-11 23:37:10 1331
原创 C# 查询IP地址 修改IP地址 监视内存使用状态 监视CPU使用率源码
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Management;namespace GetDestopMonitor{ class Program { ...
2019-05-05 22:20:42 342
原创 C# WMI获取磁盘驱动空间
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Management;namespace GetDriveSize{ class Program { s...
2019-05-04 22:46:28 329
原创 C# WMI获取逻辑磁盘信息
using System;using System.IO;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Management;namespace GetDriveInfo{ class Progra...
2019-05-04 22:28:51 425
原创 C# 获取操作系统版本号
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Management;namespace WindowsManagementInstrumentation{ class Pro...
2019-05-04 22:15:33 3341
原创 C#利用WIN32的API任意拖动窗体
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.W...
2019-05-04 11:32:59 1003 1
原创 C#与C/C++的常用交互源码
C++核心代码如下:TestCppDll.h文件#define TESTCPPDLL_API __declspec(dllexport)struct CAddStruct{ int A, B, C; char D[100];};EXTERN_C TESTCPPDLL_API double __stdcall MixedOperation(short a, int...
2019-05-03 16:59:49 558 1
原创 C# 实现通用守护进程源码
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.W...
2019-05-03 15:59:11 1528 1
原创 C# 禁止进程多次开启源码
using System;using System.Collections.Generic;using System.Linq;using System.Threading.Tasks;using System.Windows.Forms;using System.Threading;using System.Runtime.InteropServices;using System....
2019-05-02 19:23:33 122
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人