08 2012 档案
摘要:http://blog.bittercoder.com/?p=83488336OAuth for BeginnersPosted June 10, 2008 by admin & filed underOAuth.OAuth for BeginnersFor those unfamiliar with OAuth, here’s a very short run-down… I’m skipping over some of the details but I think this should give you a taste for what it’s all about – fo
阅读全文
摘要:http://www.jmedved.com/2011/12/downloading-file-with-progress/
阅读全文
摘要:http://msdn.microsoft.com/zh-cn/library/cc221403(v=vs.95).aspx如何:使用后台辅助线程Silverlight 1(共 1)对本文的评价是有帮助- 评价此主题Silverlight BackgroundWorker 类提供通过后台线程运行非常耗时的操作的便利方法。BackgroundWorker 类允许您查看操作的状态并且可以取消操作。使用 BackgroundWorker 类时,可以在 Silverlight 用户界面中指示操作进度、完成和取消情况。例如,可以查看后台操作是已完成还是已取消并为用户显示消息。过程使用 Backgrou.
阅读全文
摘要:#pragma warning (disable: 4786)#include #include #include using namespace std;//要注意当前访问的页面就是backset栈顶的元素,切记//理解浏览器前进后退的含义自己编int main(){ stack back,forward; string command,url; back.push("http://www.acm.org/"); while (cin>>command,command!="QUIT") { if (command == "VISI
阅读全文
摘要:openstack 2012 apac 8.10-8.11 @beijingIT业界有一个规律,基本上,只要有成功的商业应用出现,一定会出现一个对应的开源产品与之 争风吃醋抢天下。比如,windows vs linux,ios vs android,ms office vs openoffice,google vs hadoopiaas应用也跑不出这个规律,aws成功了,占到北美网络流量的1%+,那么对应开源实现正在群雄逐鹿,citrix+apache的cloudstack,openstack,以及桉树正在争抢开源实现这一高地。openstack是按照aws架构参考实现的一个开源IAAS管理平
阅读全文
摘要:http://www.switchonthecode.com/tutorials/csharp-tutorial-xml-serialization
阅读全文
摘要:http://mywindows8themes.com/
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Xml;namespace testConsoleApplication1{ class test解析xml文件 { public static void Main() { List> info = getFileList(); Console.WriteLine("一共有" + info.Count + "项"); ...
阅读全文
摘要:using System;using System.IO;class Program{ static void Main() { string[] files = Directory.GetFiles("D:\\快盘\\", "*.*", SearchOption.AllDirectories); foreach (string file in files) { Console.WriteLine(file); } }}http://www.dotnetp...
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;namespace testConsoleApplication1{ class Class2 { public static void Main() { FileStream fs = new FileStream(@"D:\name.xml", FileMode.Open, FileAccess.Read); //...
阅读全文
摘要:double span = 1343109387213; DateTime tm = new DateTime(1970,1,1); DateTime tm2 = tm.AddMilliseconds(span); Console.WriteLine(tm2.ToString("yyyy-MM-dd hh:mm:ss")); //月份表示为M,分钟表示为m TimeSpan ts = tm2.Subtract(tm); Console.WriteLine(ts.TotalMilliseconds...
阅读全文
摘要:https://s3.amazonaws.com/0ubz-2q11-gi9y/en.html
阅读全文
摘要:内容提要1.解析Xml文件有哪些方法?各有什么优缺点?2.如何用XPath解析xml文档的要点。 先来看看解析xml文件的方法都有哪些吧,本段文字来自网络,可以帮助大家对这个问题有个概要的了解。在程序中访问并操作XML文件一般有两种模型:流模型和DOM(文档对象模型)。流模型中有两种变体——“推”模型和“拉”模型。“推”模型也就是常说的SAX,SAX是一种靠事件驱动的模型。它每发现一个节点就用“推”模型引发一个事件,而我们必须编写这些事件的处理程序,很麻烦。.NET中使用的是基于“拉”模型的实现方案。 “拉”模型在遍历文档时会把感兴趣的文档部分从读取器中拉出,不需要引发事件,允许我们以编程的方
阅读全文
摘要:using System;using System.IO;using System.Net;using System.Text;namespace xxxx{ public class WebRequestPostExample { public static void Main() { HttpWebRequest request = (HttpWebRequest)WebRequest.Create(@"http###files/Cygwin.pdf"); FileStream fs = new FileS...
阅读全文
摘要:http://www.codeproject.com/Questions/117324/upload-file-in-c-with-HttpWebRequest
阅读全文
摘要:REST接口GET方法获取文件保存到本地(C#)using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.IO;namespace testConsoleApplication1{ class Class1 { static void Main(string[] args) { string urlstr = @"http://127.0.0.1/open/files/...
阅读全文
摘要:Filestream读写文件把1.pdf读到2.pdfusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;namespace testConsoleApplication{ class Program { static void Main(string[] args) { //打开源文件1.pdf,供读 FileStream fs = new FileStream(@"...
阅读全文
摘要:=MID($A$1,(ROW()-1)*10+1,10)
阅读全文
摘要:RESTClient is a Java application to test RESTful webservices. It can be used to test variety of HTTP communications. There are two executables:GUI version (restclient-ui-X.jar download) Cli version for batch execution of .rcq files (restclient-cli-X.jar download)http://code.google.com/p/rest-client/
阅读全文
摘要:Blat 是一个命令行发邮件的小工具,仅支持简单的SMTP协议,需要SMTP服务器的支持。据说现在新申请的邮箱已经不支持SMTP服务了,是为了抑制垃圾邮件而采取的措施。但是,Blat也是一个非常方便的小工具,基本上可以满足一般人的需求。
阅读全文
摘要:这个软件可以帮助你删除那些从网上下载的带密码保护的 PDF 文件中的所有者密码,使你可以编辑,打印源文档,选择并复制其中的文字和图片内容,支持全系列的版本的 PDF 文件(包括7.x版本的128位加密方式的密码去除),删除密码后的文件可以在任何PDF阅读器中打开,不会破坏源文件,独家支持破解使用 FileOpen 插件加密的 PDF 文件,支持命令行操作!
阅读全文
摘要:【基本介绍】当你重命名或删除一个文件/文件夹时,Windows 弹出对话框提示你“无法删除 xxx:它正在被其它用户/程序使用!”,怎么办?使用 Unlocker ,使用 Unlocker 你就可以轻松、方便、有效地解决这个虽小但很烦人的问题!同类的工具中,综合易用性、功能强度,此款是目前最好的!相信许多使用者在进行档案或目录的删除时都碰过底下的问题,就是被系统告知,档案被某个程序所占用,无法顺利被删除,但是令人百思不得其解的是,该档案到底是被谁所占用呢?是那个程序导致使用者无法将档案删除呢?现在就让 Unlocker 来帮你解决吧!Unlocker 是一个免费的右键扩充工具,使用者在安装后,
阅读全文
摘要:HTTP Status Codes6(共 8)对本文的评价是有帮助- 评价此主题Applies to: desktop apps onlyThese constants and corresponding values indicate HTTP status codes returned by servers on the Internet.HTTP_STATUS_CONTINUE100The request can be continued.HTTP_STATUS_SWITCH_PROTOCOLS101The server has switched protocols in an upgr
阅读全文
摘要:string sURL = ""; WebRequest request = WebRequest.Create(sURL); request.Method = "DELETE"; HttpWebResponse response = (HttpWebResponse)request.GetResponse(); In the response object you should check the StatusCode property (it should be 200 or 204 if everything goes right, see her
阅读全文
摘要:2009-10-26 11:54 by 彭白洋, 1696 阅读, 0评论, 收藏,编辑首先介绍一下HTTP协议,HTTP亦即Hpyer Text Transfer Protocal的缩写,它是现代互联网上最重要的一种网络协议,超文本传输协议位于TCP/IP协议的应用层,是一个面向无连接、简单、快速的C/S结构的协议。HTTP的工作过程大体上分连接、请求、响应和断开连接四个步骤。C#语言对HTTP协议提供了良好的支持,在.NET类库中提供了WebRequest和WebResponse类,这两个类都包含在System.Net命名空间中,利用这两个类可以实现很多高级的网络功能,本文中多线程文件下载
阅读全文
浙公网安备 33010602011771号