摘要: //保证该程序只有一个在运行 bool createdNew; System.Threading.Mutex mutex_Application = new System.Threading.Mutex(true, "Robot", out createdNew); if (!createdNew) { ... 阅读全文
posted @ 2007-11-27 16:28 RobotTech 阅读(246) 评论(0) 推荐(0) 编辑
摘要: //MD5加密 public static string MD5(string str) { byte[] b = Encoding.Default.GetBytes(str); b = new MD5CryptoServiceProvider().ComputeHash(b); string ret =... 阅读全文
posted @ 2007-11-27 16:22 RobotTech 阅读(282) 评论(0) 推荐(0) 编辑