摘要: 方法如下:开启手机的飞行模式。连接电脑,开启Zune软件,选择电话 – 设置 – 点击更新。大约5-8秒之后,进行断开网络(拔开网线)操作,更严谨的方法:先点击更新默数一下需要多少秒、然后下一次点更新的时候就减去一两秒的时候拔掉网线!(比如点更新到检测完毕用了8秒、那么下次就在7秒左右断网)。如果收到提示“有可用的更新”,说明大功告成。没有收到提示则重复上述操作,关键点在于断网时间的选择(一定不要心急、多次尝试、尝试5遍以上都是正常的!)。这里已800c为例,更新过程分3步:8773----8779----8783----8858我个人3次断网时间分别是:12s ----- 8s------- 阅读全文
posted @ 2013-02-04 19:49 NSDefaultRunLoopMode 阅读(362) 评论(0) 推荐(0) 编辑
摘要: HttpWebRequest类代码:/// <summary> /// 发送内容 /// </summary> private byte[] bSendingFile = null; using (IsolatedStorageFileStream sendingZipStream2 = new IsolatedStorageFileStream(strZipFolderName + "/" + strZipFileName, FileMode.Open, isoStorage)) { try { // 要上传的文件 bSendingFile = n 阅读全文
posted @ 2013-02-04 14:49 NSDefaultRunLoopMode 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1.创建request对象HttpWebRequest request = (HttpWebRequest)WebRequest.Create(new Uri("http://www.cnblogs.com/"));request.BeginGetResponse(ResponseCallback,request);2. void ResponseCallback(IAsyncResult result) { try { HttpWebRequest request = (HttpWebRequest)(resu... 阅读全文
posted @ 2013-02-04 14:34 NSDefaultRunLoopMode 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 1.连接到 TCP 套接字服务器使用System.Net.SocketsAPI 创建一个套接字并连接到服务器。为了清楚起见,System.Net.SocketsAPI 的调用被封装在SocketClient类中。定义头(使用_socket变量存储Socket对象。_clientDone 变量是一个ManualResetEvent,用于协调通过SocketsAPI 调用的异步调用):// Cached Socket object that will be used by each call for the lifetime of this class Socket _socket ... 阅读全文
posted @ 2013-02-04 12:06 NSDefaultRunLoopMode 阅读(437) 评论(0) 推荐(0) 编辑