changcong

06 2013 档案

C#.net 获取CPU 硬盘 网卡 信息 代码
只有注册用户登录后才能阅读该文。

posted @ 2013-06-26 21:02 changcong 阅读(5) 评论(0) 推荐(0)

写入配置文件以及验证网络是否连通
摘要:/// /// 向App。config写入字符串 /// /// /// public static void SetValue(string ConnenctionString, string strKey) { XmlDocument doc = new XmlDocument(); //获得配置文件的全路径 string strFileName = AppDomain.CurrentDomain.SetupInformation.ConfigurationFile; //string strFileName = System.Windows.Forms.Application.... 阅读全文

posted @ 2013-06-26 20:43 changcong 阅读(127) 评论(0) 推荐(0)

将传进来的二进制字符串转换为文本文件以及将文本文件转换为二进制字符串
只有注册用户登录后才能阅读该文。

posted @ 2013-06-26 20:39 changcong 阅读(3) 评论(0) 推荐(0)

将二进制流转换为普通的字符串
摘要:/// /// 二进制流转换为 普通字符串 /// /// /// public static string Decode(string s) { byte[] c = Convert.FromBase64String(s); return System.Text.Encoding.Default.GetString(c); } 阅读全文

posted @ 2013-06-26 20:35 changcong 阅读(681) 评论(0) 推荐(0)

Winform 打包过程
只有注册用户登录后才能阅读该文。

posted @ 2013-06-26 20:33 changcong 阅读(5) 评论(0) 推荐(0)