摘要: 本文来源定义提供字节序列的一般视图。Provides a generic view of a sequence of bytes.流涉及三个基本操作Streams involve three fundamental operations:可以读取流(You can read from streams... 阅读全文
posted @ 2015-05-30 14:09 jumahe 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 发送http请求,可以用HttpWebRequest,比如:HttpWebRequest logonReq = (HttpWebRequest)WebRequest.Create("http://127.0.0.1:8097");也可以直接发送基础字节,但要着重注意:(1)发送和接收之间要有等待,否... 阅读全文
posted @ 2015-05-30 12:54 jumahe 阅读(2428) 评论(0) 推荐(0) 编辑
摘要: 我们都会用字符分割字符串:string[] recvArr = recv.Split(';');如果用字符串分割呢?下面:string[] sArray = Regex.Split(recv, "\r\n", RegexOptions.IgnoreCase); 阅读全文
posted @ 2015-05-30 12:48 jumahe 阅读(2849) 评论(0) 推荐(0) 编辑
摘要: DCOM Technical Overview 阅读全文
posted @ 2015-04-29 01:23 jumahe 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 在一台新机器上运行使用OPC自动化接口编写的C#程序报错如下:索 COM 类工厂中 CLSID 为 {28E68F9A-8D75-11D1-8DC3-3C302A000000} 的组件失败,原因是出现以下错误: 80040154 没有注册类 (异常来自 HRESULT:0x80040154 (REG... 阅读全文
posted @ 2014-12-13 00:45 jumahe 阅读(10091) 评论(0) 推荐(1) 编辑
摘要: (1)查看.NET版本:打开“我的电脑“,在地址栏输入 %systemroot%\Microsoft.NET\Framework(2)JSON验证:http://www.bejson.com/ 阅读全文
posted @ 2014-11-27 17:03 jumahe 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 发送的内容:[50 4f 53 54 20 2f 64 65 78 2f 66 69 72 65 70 6f 77 65 72 20 48 54 54 50 2f 31 2e 31 0d 0a 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 6b 65 65 70 2d 61... 阅读全文
posted @ 2014-11-25 17:26 jumahe 阅读(422) 评论(0) 推荐(0) 编辑
摘要: 1、PI连接管理器2、标记搜索3、当前值 阅读全文
posted @ 2014-11-19 11:20 jumahe 阅读(1989) 评论(0) 推荐(0) 编辑
摘要: easyphp apache端口占用问题。 阅读全文
posted @ 2014-08-07 16:08 jumahe 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 新建用户、设置密码、分配权限等。 阅读全文
posted @ 2014-07-12 23:20 jumahe 阅读(164) 评论(0) 推荐(0) 编辑