话说“主机已经强制性关闭一个链接”这个问题一直拖延了很久,现在解决了,贴出来希望能购有所参考using System;
using System.Collections;
using System.Collections.Specialized;
using System.Text;
using System.Threading;
using System.Net.Sockets;
using System.Net;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.B... Read More
//返回的是一个数组,可能存在多个CPU using System;
using System.Management;
using System.Collections;
public ArrayList GetCpuID() { ArrayList al=new ArrayList(); try { ManagementClass mc = new ManagementClass("Win32_Processor"); ManagementObjectCollection moc = mc.GetInstances(); ... Read More
光驱弹出与关闭 //using System.Runtime.InteropServices ; [DllImport("winmm.dll")] public static extern int mciSendString(string s1,string s2,int i1,int i2); private void button1_Click(object sender, System.EventArgs e) { mciSendString ("set cdaudio door open","",0,0); } private Read More
static string GetIP()
{ Uri uri = new Uri("http://www.ikaka.com/ip/index.asp";); System.Net.HttpWebRequest req = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(uri); req.Method = "POST"; req.ContentType = "application/x-www-form-urlencoded"; req... Read More
很容易在各大网站上找到不完整的Windows安装序列号的破解的文章。在这里尝试收集整理一下,而且附带了完整的公式。认证过程1.解码下面的计算都是基于这个序列号的:JCF8T-2MG8G-Q6BBK-MQKGT-X3GBB因为字符"-"不包含任何信息,所以微软的产品序列号实际上是由25个字符组成的。另外,微软没有使用易混淆的字符,比如"I"和"1","O"和 "0",其产品序列号之包括"BCDFGHJKMPQRTVWXY2346789"进行编码。于是,一个产品序列号中,最多包含 Read More