摘要:
//保证该程序只有一个在运行 bool createdNew; System.Threading.Mutex mutex_Application = new System.Threading.Mutex(true, "Robot", out createdNew); if (!createdNew) { ... 阅读全文
摘要:
//MD5加密 public static string MD5(string str) { byte[] b = Encoding.Default.GetBytes(str); b = new MD5CryptoServiceProvider().ComputeHash(b); string ret =... 阅读全文