摘要: using System;using System.Net;/// /// 客户端通过TCP/IP连接服务端的方法,包含连接,发送数据,接收数据功能/// using System.Net.Sockets;using System.Text;using System.Threading;public class LYL_TCP_Client{// 定义一个空的Socket对象Socket socket = null;// 当一个异步操作完成时, 用于通知的事件对象//创建一个手动线程通知事件,false表示默认是线程阻塞,true表示线程继续,只有线程继续WaitOne()才有意义 stati 阅读全文
posted @ 2014-03-02 23:38 walleyekneel 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 下载源码还有一种方式,更新瓷片方式1、 /// /// 定时更新磁贴 /// public class ShellUpdate { ShellTileSchedule schedule; public void CreateShell(string remoteUri, UpdateRecurrence updateOption = UpdateRecurrence.Interval) { schedule = new ShellTileSchedule { ... 阅读全文
posted @ 2014-03-02 01:11 walleyekneel 阅读(190) 评论(0) 推荐(0) 编辑