2012年6月15日

MD5

摘要: using System.Security.Cryptography; /// <summary> /// MD5加密函数 /// </summary> /// <param name="Srcstr"></param> /// <returns></returns> public string GetStrMD5Code(string Srcstr) { MD5CryptoServiceProvider md5csp = new MD5CryptoServiceProv... 阅读全文

posted @ 2012-06-15 14:30 史冰 阅读(223) 评论(0) 推荐(0) 编辑

注册表操作

摘要: using Microsoft.Win32; /// <summary> /// 写入注册表 /// </summary> /// <param name="name"></param> /// <param name="value"></param> /// <returns></returns> public bool SetAppkey(string name, string value) { RegistryKey Rootkey = Regis... 阅读全文

posted @ 2012-06-15 14:26 史冰 阅读(130) 评论(0) 推荐(0) 编辑

导航