摘要:
using System;
using System.IO;
using System.Net;
using System.Text;
using System.Collections.Generic;
using System.Text.RegularExpressions; namespace scan
{ public class zzHttp { private const string sContentType = "application/x-www-form-urlencoded"; private const string sU... 阅读全文
摘要:
using System.IO;
using System.Drawing;
using System.Drawing.Imaging;
using System;
namespace Bll
{ /// /// 图片处理类 /// 1、生成缩略图片或按照比例改变图片的大小和画质 /// 2、将生成的缩略图放到指定的目录下 /// public class ImageHepler { public Image ResourceImage, ReducedImage; private int ImageW... 阅读全文
摘要:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices; namespace 图片识别
{ public partial class Form1 : Form { public ... 阅读全文
摘要:
加密类using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL; namespace 加密算法
{ class Program { static void Main(string[] args) { while(true) { Console.Write("请输入加密字符串"); string s = Console.... 阅读全文
摘要:
using System;
using System.Collections.Generic;
using System.Text; namespace 暴力算法
{ class Program { static void Main(string[] args) { int maxLength = 5; //设置可能最长的密码长度 Password.CrackPass(maxLength); } } class Password { ... 阅读全文
摘要:
#include
#define maxSize 100 typedef struct { int data[maxSize]; int length;
}Sqlist;
void initSqlist(Sqlist &L)
{ L.length=0;
}
void ListInsert(Sqlist &L,int locate,int x)
{ if(L.length==maxSize||locateL.length+1) return; //把locate和后面的往后移动 for(int i=L.length;i>locate;i--) L.data[i+1]=L.. 阅读全文
摘要:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text; namespace Tool
{ /// /// UDP数据包分割器 /// public static class UdpPacketSplitter { /// /// 分割UDP数据包 /// /// UDP数据包所持有的序号 ... 阅读全文