2006年7月25日

C#中将字符串转换为MD5

摘要: private string getMd5(string password) { byte[] pasArray = System.Text.Encoding.Default.GetBytes(password); pasArray = new System.Security.Cryptography.MD5CryptoSe... 阅读全文

posted @ 2006-07-25 15:35 龙少爷 阅读(1192) 评论(0) 推荐(0) 编辑

C#中将图片文件存至数组

摘要: String SourceLoc = "D:/Images/photo.jpg";String DestinationLoc = "D:/Images/TestImage.jpg";FileStream fs = new FileStream(SourceLoc, FileMode.Open,FileAccess.Read);byte[] ImageData = new byte[fs.Leng... 阅读全文

posted @ 2006-07-25 15:33 龙少爷 阅读(1072) 评论(0) 推荐(0) 编辑

在Delphi中的TreeView中保存多个数据

摘要: 使用Delphi几年来,居然不知道TreeView中可以保存多个数据,帮助中的一点代码 阅读全文

posted @ 2006-07-25 15:24 龙少爷 阅读(1476) 评论(1) 推荐(0) 编辑

导航