- 博客(6)
- 资源 (11)
- 收藏
- 关注
原创 C# 模拟鼠标事件
<br />using System;<br />using System.Collections.Generic;<br />using System.Text;<br />using System.Runtime.InteropServices;<br />using System.Reflection;<br />using System.Windows.Forms;<br />using System.ComponentModel;<br />using System.Data;<br />usin
2010-12-21 16:44:00 1778
原创 Pelco_D-P协议
<br />PELCO产品协议解析<br />PELCO (派尔高)的监控器材在我国有很广泛的应用。 PELCO有自己的传输控制协议,当它的产品配套使用时,可以互相兼容。但在某些情况下,由<br />于工程的需要,要求用其它设备(比如电脑)来控制PELCO的矩阵或镜头,这就要求充分了解PELCO的传输协议。 <br /> 本文为你详细解析PELCO常用的两种协议:PELCO-D协议和PELCO-P协议。<br />- PELCO-D协议<br /> PELCO-D协议一般用于矩阵和其它设备之间的
2010-12-21 16:40:00 4716 1
原创 C# 云台控制 Pelco_D-P协议
<br />Pelco_D:<br /> <br />using System;<br />using System.Collections;<br />namespace Pelco<br />{<br /> /// <summary><br /> /// dot.NET Implementation of Pelco D Protocol<br /> /// </summary><br /> public class Pelco_D<br /> {<br /> private sta
2010-12-21 16:36:00 4146 1
原创 用于ftp断点续传,得到本地和ftp服务器上的 文件大小
<br />using System;<br />using System.Collections.Generic;<br />using System.Text;<br />using System.IO;<br />using System.Net;<br />namespace Capture<br />{<br /> /// <summary><br /> /// 用于ftp断点续传,得到文件大小<br /> /// </summary><br /> public class
2010-12-21 16:29:00 1547
转载 C# 操作App.config 配置文件帮助类
<br />应用程序配置文件,对于asp.net是 web.config,对于WINFORM程序是 App.Config(ExeName.exe.config)。<br />配置文件,对于程序本身来说,就是基础和依据,其本质是一个xml文件,对于配置文件的操作,从.NET 2.0 开始,就非常方便了,提供了 System [.Web] .Configuration 这个管理功能的NameSpace,要使用它,需要添加对 System.configuration.dll的引用。<br />对于WINFORM程
2010-12-21 15:49:00 1190
原创 C# 操作ini配置文件帮助类
.NET Framework 类库未提供读写ini文件的相应类,不过可以使用WinAPI来处理INI文件的读写,代码很简单。首先有两个API函数需放在你的class中且只能如此,放在method或(class外namespace内),都会出现编译错误: [DllImport("kernel32")] private static extern long WritePrivateProfileString(string section, string key, string val
2010-12-21 14:50:00 949
asp.net api
2015-07-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人