摘要:
using System; using System.Security.Cryptography; using System.IO; using System.Text; class EncryptionAndDissection { //加密: public static string Encrypting(string strSource) { //把字符串放到byte数组中 byte[] bytIn = System.Text.Encoding.Default.GetBytes(strSource);... 阅读全文
posted @ 2011-11-12 13:46
.NET技术
阅读(302)
评论(0)
推荐(1)
摘要:
//Socket基本编程 //服务端: using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; Thread mythread ; Socket socket; // 清理所有正在使用的资源。 protected override void Dispose( bool disposing ) { try { socket.Close()... 阅读全文
posted @ 2011-11-12 13:41
.NET技术
阅读(279)
评论(0)
推荐(0)

浙公网安备 33010602011771号