MyDb
基于XML实现的权限类
用户名
用户id
密码
权限控制Id
用户备注
是否是管理员权限
是否是超级管理员权限
设置权限
权限名称
权限值
返回是否设置成功
获取权限
权限名称
默认权限值
返回权限值
获取权限
权限名称
返回权限值
批量导入权限
权限相关的内容
返回是否执行成功
导出权限
返回导出文本
清除所有权限
返回是否执行成功
汉字转拼音静态类,包括功能全拼和缩写,方法全部是静态的
汉字的机内码数组
机内码对应的拼音数组
把汉字转换成拼音(全拼)
汉字字符串
转换后的拼音(全拼)字符串
把汉字转换成拼音(全拼)
汉字字符串
转换后的拼音(全拼)字符串
把汉字转换成拼音(首拼)
汉字字符串
转换后的拼音(首拼)字符串
把汉字转换成拼音(全拼)
汉字字符串
用指定字符分隔
转换后的拼音(全拼)字符串
汉字转拼音缩写
要转换的汉字字符串
拼音缩写
汉字转拼音缩写 (字符串) (小写) (空格间隔)
要转换的汉字字符串
拼音缩写
汉字转拼音缩写 (大写)
要转换的汉字字符串
拼音缩写
汉字转拼音缩写 (字符串)(大写)(空格间隔)
要转换的汉字字符串
拼音缩写
取单个字符的拼音声母
要转换的单个汉字
拼音声母
取单个字符的拼音声母
要转换的单个汉字
拼音声母
Ini操作类
写入Ini
获取Ini
声明INI文件的读操作函数 GetPrivateProfileString()
声明INI文件的读操作函数 GetPrivateProfileString()
声明INI文件的读操作函数 GetPrivateProfileString()
获取所有节点名称(Section)
存放节点名称的内存地址,每个节点之间用\0分隔
内存大小(characters)
Ini文件
内容的实际长度,为0表示没有内容,为nSize-2表示内存大小不够
编码
Ini操作类
根据section取所有key和值
读取INI文件中指定INI文件中的所有节点名称(Section)
所有节点,没有内容返回string[0]
读取INI文件
段,格式[]
键
返回byte类型的section组或键值组
根据section取所有key
写入ini
写入ini
写入ini
写入ini
写入ini
写入Ini
读取Ini
读取Ini
读取Ini
读取Ini
写入ini
删除Ini的Key
删除Ini节点
控件信息
id
控件对象
控件值类型
默认值
值类型
默认
取列表顺序值
取当前选择的列表值
取对象值
保存的设置类型
Ini
XML
对象值
显示的文本
图片序号
id
Tag值
显示文本值
星期数据
一周的开始时间
一周的结束时间
XML操作类
XML操作类
从XML文本中加载数据
从指定的XML文本中加载
XML文本
如为1,表示加载成功,为0为失败
载入空的XML文档
如为1,表示加载成功,为0为失败
从指定的文件中加载
XML文件路径
如为1,表示加载成功,为0为失败
保存到指定文件中
文件路径
如为1,表示保存成功,为0为失败
判断节点是否存在
属性名
属性值
返回1,表示存在,其它表示不存在
定位节点
属性名
属性值
返回第一个符合要求的结果
定位节点,如果找不到节点,就新建一个节点
属性名
属性值
返回第一个符合要求的结果
根据用户的节点定位节点,输入节点时,一定要注意节点是属于类内部的,否则可能出错。
返回第一个符合要求的结果
定位设置节点
返回第一个符合要求的结果
在节点后插入数据
在节点前插入数据
获取节点数量
属性名
属性值
返回符合要求的结果数量
获取节点数量
返回符合要求的结果数量
获取节点数量
属性名
属性值
返回符合要求的结果数量
设置节点值
属性名
属性值
如为1,表示加载成功,为0为失败
设置节点值
属性名
属性值
如为1,表示加载成功,为0为失败
设置节点值
属性名
属性值
如为1,表示加载成功,为0为失败
设置节点值
属性名
属性值
如为1,表示加载成功,为0为失败
设置节点值
属性名
属性值
如为1,表示加载成功,为0为失败
设置节点值
属性名
属性值
如为1,表示加载成功,为0为失败
读取指定节点的值
读取指定节点的值
读取指定节点的值
读取指定节点的值
获取属性值
读取指定节点的值
读取指定节点的值
读取指定节点的值
读取所有的节点名称
读取指定节点的值
读取指定节点的值
读取指定节点的值
读取指定节点的值
读取指定节点的值
获取XML文件的根元素
获取所有列表
如为1,表示获取成功,为0为失败
获取所有列表
如为1,表示获取成功,为0为失败
新增节点
新增节点并定位到新节点
新增设置节点并定位
在指定节点前新增节点并定位到新节点
获取当前节点
删除节点
获取XML文本
获取XML文本
获取文本
获取文本
字符串操作类
字符串转Base64
Base64转字符串
转换指定字符串为布尔类型
转换指定字符串为Double类型
已重载.计算两个日期的时间间隔,返回的是时间间隔的日期差的绝对值.
第一个日期和时间
第二个日期和时间
已重载.计算一个时间与当前本地日期和时间的时间间隔,返回的是时间间隔的日期差的绝对值.
一个日期和时间
转换指定字符串为Int类型
转换指定字符串为Int类型
转换指定布尔类型为Int类型,true为1,false为0
判断指定字符串是否是布尔类型
判断指定字符串是否是Double类型
判断指定字符串是否是Int类型
根据年月日转换成日期
追加字符
获取2个字符串中间的内容,point1为空表示从首位开始算,point2为空表示算到结尾。
判断字符串是否只包含数字或英文
判断字符串是否只包含英文
判断字符串是否匹配,支持?*通配符
待匹配的字符串
匹配的通配符
通配符替换
支持忽略大小写的替换功能
是否忽略大小写
获取匹配的内容
文件时间
创建时间
最后修改时间
访问时间
图片类型
Bmp图片
Jpeg图片
Png图片
Gif动态图片
Tiff图片
对变量的拓展
替换文本(忽略大小写)
需要替换的内容
替换后的内容
替换文本(忽略大小写),可支持通配符
是否是通配符表达式,不是,则普通替换,忽略大小写,是,则启用通配符替换
支持忽略大小写的替换文本功能
是否忽略大小写
获取符合要求的第一个结果
是否是正则
查找字符串,忽略大小写
查找字符串,忽略大小写
判断字符串是否是数字或英文
判断字符串是否是英文
是否在指定范围内
是否在指定范围内
转换指定字符串为Int类型
最小值
最大值
如果字符串不在范围内,则使用本默认值
转换指定布尔类型到Int类型,true为1,false为0
将指定类型转换成整型
将指定类型转换成整型
将指定类型转换成长整型,如果时间时间类型,则转换为Unix时间戳
转换为Unix时间戳
将指定类型转换成长整型
转换指定类型为Double类型
转换指定类型为Double类型
转换DateTime类型到日期时间字符串
转换DateTime类型到日期字符串
转换DateTime类型到日期星期字符串
转换DateTime类型到Unix时间戳
转换Unix时间戳到DateTime类型
判断字符串是否与内容匹配
将变量值转换成Double类型,如果不在指定区域范围内,则使用默认值
转换到文件大小字符串
转换到文件大小字符串
转换指定类型为Decimal类型
将变量值转换成Decimal类型
将变量值转换成Decimal类型,如果不在指定区域范围内,则使用默认值
转换指定类型为DateTime类型
将变量值转换成DateTime类型
转换指定类型为布尔类型
追加字符
获取指定字符串之间的内容
获取指定字符串之间的内容
判断指定字符串是否是Int类型
判断指定字符串是否是Double类型
判断是否是布尔类型
将字符串转换为Base64类型
判断字符串是否在指定长度
判断能否转换成日期格式
文件信息
获取版本号
获取版本号
判断是否是管理员方式运行
Hosts操作类
获取并转换hosts内容
hosts内容
获取hosts并转换hosts内容
追加内容到hosts里
要追加的内容列表,每一行为ip 域名的格式
0表示无需新增,-1表示添加失败,1表示追加成功
write为true,追加内容到hosts里;为false,判断是否需要追加
要追加的内容列表,每一行为ip 域名的格式
是否要写入,如果为false,则只判断是否需要追加,而不写入Hosts文件
0表示无需新增,-1表示添加失败,1表示追加成功
追加内容到hosts里
要追加的内容
0表示无需新增,-1表示添加失败,1表示追加成功
追加内容到hosts里
ip地址
域名
0表示无需新增,-1表示添加失败,1表示追加成功
从hosts文件里删除内容
要删除的内容
0表示无需删除,-1表示添加失败,1表示删除成功
从hosts文件里删除内容
ip地址
域名
0表示无需删除,-1表示添加失败,1表示删除成功
Host信息
IP
域名
注释
是否要删除
音频播放类
临时音频文件
父窗口句柄
声音标签
play synchronously (default)
play asynchronously
silence (!default) if sound not found
pszSound points to a memory file
loop the sound until next sndPlaySound
don’t stop any currently playing sound
Stop Playing Wave
don’t wait if the driver is busy
name is a registry alias
alias is a predefined id
name is file name
name is resource name or atom
音频播放类
embedded music file
临时保存的文件位置
父窗口句柄
音频播放类
要播放的音频位置
父窗口句柄
音频播放类
父窗口句柄
播放音频
播放音频
关闭音频
文件操作类
删除单个文件。
删除的文件名
指示是将文件放入回收站还是永久删除,true-放入回收站,false-永久删除
指示是否显示确认对话框,true-显示确认删除对话框,false-不显示确认删除对话框
指示是否显示进度对话框,true-显示,false-不显示。该参数当指定永久删除文件时有效
反馈错误消息的字符串
操作执行结果标识,删除文件成功返回0,否则,返回错误代码
删除单个文件。
删除的文件名
指示是将文件放入回收站还是永久删除,true-放入回收站,false-永久删除
操作执行结果标识,删除文件成功返回0,否则,返回错误代码
永久删除单个文件。
永久删除的文件名
操作执行结果标识,删除文件成功返回0,否则,返回错误代码
删除一组文件。
字符串数组,表示一组文件名
指示是将文件放入回收站还是永久删除,true-放入回收站,false-永久删除
指示是否显示确认对话框,true-显示确认删除对话框,false-不显示确认删除对话框
指示是否显示进度对话框,true-显示,false-不显示。该参数当指定永久删除文件时有效
反馈错误消息的字符串
操作执行结果标识,删除文件成功返回0,否则,返回错误代码
移动文件到指定路径下
要移动的文件名
移动到的目的路径
移动一个文件到指定路径下
要移动的文件名
移动到的目的路径
指示是否显示确认对话框,true-显示确认对话框,false-不显示确认对话框
指示是否显示进度对话框
指示当文件名重复时,是否自动为新文件加上后缀名
反馈错误消息的字符串
返回移动操作是否成功的标识,成功返回0,失败返回错误代码
移动一组文件到指定的路径下
要移动的文件名数组
移动到的目的路径
指示是否显示确认对话框,true-显示确认对话框,false-不显示确认对话框
指示是否显示进度对话框
指示当文件名重复时,是否自动为新文件加上后缀名
反馈错误消息的字符串
返回移动操作是否成功的标识,成功返回0,失败返回错误代码,-200:表示其他异常
复制文件到指定的文件名或路径
要复制的文件名
复制到的目的文件名或路径
复制文件到指定的文件名或路径
要复制的文件名
复制到的目的文件名或路径
指示是否显示确认对话框,true-显示确认对话框,false-不显示确认对话框
指示是否显示进度对话框
指示当文件名重复时,是否自动为新文件加上后缀名
返回错误信息
返回移动操作是否成功的标识,成功返回0,失败返回错误代码,-200:表示其他异常
复制一组文件到指定的路径
要复制的文件名数组
复制到的目的路径
指示是否显示确认对话框,true-显示确认对话框,false-不显示确认对话框
指示是否显示进度对话框
指示当文件名重复时,是否自动为新文件加上后缀名
返回错误信息
返回移动操作是否成功的标识,成功返回0,失败返回错误代码,-200:表示其他异常
大文件多次复制文件 true:复制成功 false:复制失败
原始文件路径
复制目标文件路径
复制文件夹到目标文件夹
源文件夹
目标文件夹
返回移动操作是否成功的标识,成功返回0,负数表示复制失败的文件数量。1表示源文件夹不存在
重命名一个文件为新名称,建议您使用更方便的Microsoft.VisualBasic.FileSystem.ReName();替换该方法
要复制的文件名
复制到的目的文件名或路径
指示是否显示确认对话框,true-显示确认对话框,false-不显示确认对话框
返回错误信息
返回移动操作是否成功的标识,成功返回0,失败返回错误代码,-200:表示其他异常
删除单个或多个文件
删除的文件名,如果是多个文件,文件名之间以字符串结尾符'\0'隔开
指示是将文件放入回收站还是永久删除,true-放入回收站,false-永久删除
指示是否显示确认对话框,true-显示确认删除对话框,false-不显示确认删除对话框
指示是否显示进度对话框,true-显示,false-不显示。该参数当指定永久删除文件时有效
反馈错误消息的字符串
操作执行结果标识,删除文件成功返回0,否则,返回错误代码
移动或复制一个或多个文件到指定路径下
操作类型,是移动操作还是复制操作
要移动或复制的文件名,如果是多个文件,文件名之间以字符串结尾符'\0'隔开
移动到的目的位置
指示是否显示确认对话框,true-显示确认对话框,false-不显示确认对话框
指示是否显示进度对话框
指示当文件名重复时,是否自动为新文件加上后缀名
反馈错误消息的字符串
返回移动操作是否成功的标识,成功返回0,失败返回错误代码
如果指定文件夹不存在,则创建文件夹
获取一个文件的全名
文件名
返回生成文件的完整路径名
获取一个文件的全名
文件名
返回生成文件的完整路径名
解释错误代码
代码号
返回关于错误代码的文字描述
运行文件
/运行文件
运行程序
打开文件
打开文件夹并定位文件
打开网址
判断文件名是否有效
转换到有效文件名
追加日志
追加文件
读取文件内容,可以自动识别文件编码
读取文件所有行,可以自动识别文件编码
写入所有文本行到文件,如果文件夹不存在,会自动创建
写入所有文本到文件,如果文件夹不存在,会自动创建
从文件中加载图片,使用本方法,不会导致图片文件被占用。
获取文件大小
添加文件到指定文件夹,会进行自动重命名,并返回重命名后的文件名(含路径)
要添加的文件路径
要添加到的文件夹
是否根据时间进行重命名
返回是否成功执行
成功执行则返回路径,否则返回空
获取文件大小字符串
获取文件大小字符串
复制内容到剪切板
添加某个控件为支持拖放属性
使管理员方式运行时支持拖放
保存高质量不失真照片
保存高质量不失真照片
保存高质量不失真照片
获取绝对路径
获取相对路径
获取图标
销毁图标
获取文件图标
用于取得一个文本文件的编码方式(Encoding)。
用于取得一个文本文件的编码方式(Encoding)。
取得一个文本文件的编码方式。如果无法在文件头部找到有效的前导符,Encoding.Default将被返回。
文件名。
取得一个文本文件流的编码方式。
文本文件流。
取得一个文本文件的编码方式。
文件名。
默认编码方式。当该方法无法从文件的头部取得有效的前导符时,将返回该编码方式。
取得一个文本文件流的编码方式。
文本文件流。
默认编码方式。当该方法无法从文件的头部取得有效的前导符时,将返回该编码方式。
通过给定的文件流,判断文件的编码类型
文件流
文件的编码类型
判断是否是不带 BOM 的 UTF8 格式
数据库操作扩展
判断DataSet是否包含数据
获取首行数据,如果没有数据,则返回null
获取第一行第一列的值
获取第一张表的指定行数据
指定第几行
对鼠标或键盘的自动化操作
鼠标左键
鼠标中键
鼠标右键
模拟键盘按键
按下还是抬起
鼠标滚轮
鼠标移动
自定义鼠标按下或抬起
左键单击鼠标(支持后台单击)
指定要发送单击命令的句柄
坐标x(句柄内的坐标,非屏幕坐标)
坐标y(句柄内的坐标,非屏幕坐标)
左键单击鼠标(支持后台单击)
指定要发送单击命令的句柄
坐标(句柄内的坐标,非屏幕坐标)
右键单击鼠标(支持后台单击)
指定要发送单击命令的句柄
坐标x(句柄内的坐标,非屏幕坐标)
坐标y(句柄内的坐标,非屏幕坐标)
右键单击鼠标(支持后台单击)
指定要发送单击命令的句柄
坐标(句柄内的坐标,非屏幕坐标)
中键单击鼠标(支持后台单击)
指定要发送单击命令的句柄
坐标x(句柄内的坐标,非屏幕坐标)
坐标y(句柄内的坐标,非屏幕坐标)
中键单击鼠标(支持后台单击)
指定要发送单击命令的句柄
坐标(句柄内的坐标,非屏幕坐标)
左键单击鼠标(不支持后台单击)
坐标x(屏幕坐标)
坐标y(屏幕坐标)
左键单击鼠标(不支持后台单击)
坐标(屏幕坐标)
右键单击鼠标(不支持后台单击)
坐标x(屏幕坐标)
坐标y(屏幕坐标)
右键单击鼠标(不支持后台单击)
坐标(屏幕坐标)
中键单击鼠标(不支持后台单击)
坐标x(屏幕坐标)
坐标y(屏幕坐标)
中键单击鼠标(不支持后台单击)
坐标(屏幕坐标)
粘贴文本
获取指定句柄的大小及位置
设置指定句柄的大小
判断鼠标位置是不是在指定的矩形中
判断2张图是否相似度超90
/获取2种颜色的相似度,范围为0~100
新模态窗体
设置窗体返回的结果值,并关闭窗体。
当前窗体
模态变量
防止
窗体返回的结果事件
当打开的窗体返回结果时激发
窗体返回的状态
实例化类
父窗体,如果为null,则取桌面为父窗体
获取最顶级的父窗口
显示新模态窗体,会暂时禁用父窗体,关闭当前窗体后,父窗体会恢复。
只运行一个实例,打开后,所有窗体都依然有效。
显示窗体
显示的位置
显示在父窗体中间
窗体显示位置
右上角
顶部中间
顶部右边
中间
左下角
底部中间
右下角
父窗体居中
日期时间的操作类
获取当前是周几,周一到周日,分别是1-7.
获取当前是周几,1-7,分别是返回一到日.
获取当前是周几,输入日期,根据周几,分别是返回一到日.
获取一周的开始和结束,开始时间为第一天的0点,结束时间以最后一天的0点为结束时间
获取2个日期相差几周
获取2个日期相差几个月
获取一个月的开始
判断是否在同一个星期。
判断是否在同一个月。
判断是否在同一天
计算两个日期的时间间隔,返回的是时间间隔的日期差的绝对值.
第一个日期和时间
第二个日期和时间
计算两个日期的时间间隔,返回的是时间间隔的日期差的绝对值.
第一个日期和时间
第二个日期和时间
是否显示秒
计算一个时间与当前本地日期和时间的时间间隔,返回的是时间间隔的日期差的绝对值.
一个日期和时间
将c# DateTime时间格式转换为Unix时间戳格式
时间
long
时间戳转为C#格式时间
时间戳转为C#格式时间
将c# DateTime时间格式转换为js时间戳格式
时间
long
JS时间戳转为C#格式时间
JS时间戳转为C#格式时间
根据年月日转换成日期
根据日期和时间转换成日期时间
将时间转换成当前分钟开始的时间
将时间转换成当前秒钟开始的时间
当前时间在这一天里的秒数
窗体操作类
设置Comobox的行间距
移除关闭按钮。返回值,非零表示成功,零表示失败。
窗口的句柄
是否成功
把窗体放到最前
显示窗体
设置窗体是否置顶
显示没有焦点的窗口
根据句柄获取窗口文本
根据句柄获取窗口类
获取当前活动的窗口句柄
设置为当前活动窗口
根据窗口句柄来获得进程id
显示窗体
设置窗体父窗体为桌面,不会随着显示桌面而最小化,但无法设置窗体透明度
结束进程
打开窗体,只打开一个实例(非模态)
将窗体植入到容器控件中
作为窗体容器的控件
重新调整窗体大小以适配容器大小
作为窗体容器的控件
设置注册表操作,部分功能需要管理员权限
访问的注册表位置(64位还是32位)
访问的注册表节点
设置是否开机启动
是否开机启动
开机启动名称
启动命令
设置是否开机启动
是否开机启动
开机启动名称
把指定文件设置为开机启动或取消开机启动
是否开机启动
开机启动名称
要开机启动的文件路径
检查是否开机启动
开机启动名称
开机启动命令
检查是否开机启动
开机启动名称
判断指定文件是否是开机启动
开机启动名称
文件路径
判断当前程序是否是开机启动
开机启动名称
判断当前程序是否是开机启动
开机启动名称
启动命令行
设置指定文件的浏览器控件内核版本
文件名,要求不带路径
7000 表示IE7兼容视图模式;8000 表示IE8 标准模式 ;8888 表示IE8 强制标准模式,在渲染失败的情况下不尝试用兼容视图模式
设置文件关联
扩展名(如.apk)
映射的扩展名(如apkfile)
app名称(建议用英文数字)
文件关联描述
文件路径
设置文件关联
映射的扩展名(如apkfile)
app名称(建议用英文数字)
文件关联描述
文件路径
在指定文件格式右键菜单中增加菜单
扩展名(如.apk)
app名称(建议用英文数字)
文件关联描述
文件路径
删除文件关联
映射的扩展名(如apkfile)
app名称(建议用英文数字)
获取文件关联是否存在
映射的扩展名(如apkfile)
app名称(建议用英文数字)
采用的IE模式
IE7兼容视图
IE8 标准模式
IE8 强制标准模式,在渲染失败的情况下不尝试用兼容视图模式
IE9 标准模式
IE9 强制标准模式,在渲染失败的情况下不尝试用兼容视图模式
IE10 标准模式
IE10 强制标准模式,在渲染失败的情况下不尝试用兼容视图模式
设置当前软件的浏览器控件内核版本
7000 表示IE7兼容视图模式;8000 表示IE8 标准模式 ;8888 表示IE8 强制标准模式,在渲染失败的情况下不尝试用兼容视图模式
设置指定文件的浏览器控件内核版本
文件名,要求不带路径
IE内核版本
设置当前软件的浏览器控件内核版本
IE内核版本
系统函数
红
绿
蓝
获取屏幕伽马值
设置屏幕伽马值
获取键盘和鼠标没有操作的时间
设置屏幕 Gamma值
设置屏幕亮度
获取系统
窗体操作类
构造函数
析构
设置让窗体支持移动
是否允许可调节大小
可调节窗体大小的宽度
开始截图
是否截取鼠标指针
给控件增加拖放功能的类
拖放实例
高级拖放事件
使管理员方式运行时支持拖放
使支持拖放属性
网络操作类
通过NetworkInterface读取网卡Mac
通过NetworkInterface读取网卡Mac
根据mac字符串来获取最终的mac地址,可以是各种MAC地址格式,非法的内容将返回null
远程唤醒
远程唤醒
A utility class to compute CRC32.
Compute a checksum for a given array of bytes.
The array of bytes to compute the checksum for.
The computed checksum.
Compute a checksum for a given string.
The string to compute the checksum for.
The computed checksum.
Represents an HTML attribute.
Gets the line number of this attribute in the document.
Gets the column number of this attribute in the document.
Gets the stream position of the value of this attribute in the document, relative to the start of the document.
Gets the length of the value.
Gets the qualified name of the attribute.
Name of attribute with original case
Gets the HTML document to which this attribute belongs.
Gets the HTML node to which this attribute belongs.
Specifies what type of quote the data should be wrapped in
Specifies what type of quote the data should be wrapped in (internal to keep backward compatibility)
Gets the stream position of this attribute in the document, relative to the start of the document.
Gets or sets the value of the attribute.
Gets the DeEntitized value of the attribute.
Gets a valid XPath string that points to this Attribute
Compares the current instance with another attribute. Comparison is based on attributes' name.
An attribute to compare with this instance.
A 32-bit signed integer that indicates the relative order of the names comparison.
Creates a duplicate of this attribute.
The cloned attribute.
Removes this attribute from it's parents collection
An Enum representing different types of Quotes used for surrounding attribute values
A single quote mark '
A double quote mark "
No quote mark
The initial value (current value)
Represents a combined list and collection of HTML nodes.
Gets the number of elements actually contained in the list.
Gets readonly status of colelction
Gets the attribute at the specified index.
Gets a given attribute from the list using its name.
Adds a new attribute to the collection with the given values
Adds supplied item to collection
Adds a range supplied items to collection.
An IEnumerable<HtmlAttribute> of items to append to this.
Adds a range supplied items to collection using a dictionary.
A Dictionary<string,string> of items to append to this.
Explicit clear
Retreives existence of supplied item
Copies collection to array
Get Explicit enumerator
Explicit non-generic enumerator
Retrieves the index for the supplied item, -1 if not found
Inserts given item into collection at supplied index
Explicit collection remove
Removes the attribute at the specified index.
The index of the attribute to remove.
Inserts the specified attribute as the last attribute in the collection.
The attribute to insert. May not be null.
The appended attribute.
Creates and inserts a new attribute as the last attribute in the collection.
The name of the attribute to insert.
The appended attribute.
Creates and inserts a new attribute as the last attribute in the collection.
The name of the attribute to insert.
The value of the attribute to insert.
The appended attribute.
Checks for existance of attribute with given name
Inserts the specified attribute as the first node in the collection.
The attribute to insert. May not be null.
The prepended attribute.
Removes a given attribute from the list.
The attribute to remove. May not be null.
Removes an attribute from the list, using its name. If there are more than one attributes with this name, they will all be removed.
The attribute's name. May not be null.
Remove all attributes in the list.
Returns all attributes with specified name. Handles case insentivity
Name of the attribute
Removes all attributes from the collection
Clears the attribute collection
Represents an HTML comment.
Gets or Sets the comment text of the node.
Gets or Sets the HTML between the start and end tags of the object. In the case of a text node, it is equals to OuterHtml.
Gets or Sets the object and its content in HTML.
Represents a complete HTML document.
True to disable, false to enable the behavior tag p.
Default builder to use in the HtmlDocument constructor
Action to execute before the Parse is executed
Defines the max level we would go deep into the html document
The HtmlDocument Text. Careful if you modify it.
True to stay backward compatible with previous version of HAP. This option does not guarantee 100% compatibility.
Adds Debugging attributes to node. Default is false.
Defines if closing for non closed nodes must be done at the end or directly in the document.
Setting this to true can actually change how browsers render the page. Default is false.
Defines if non closed nodes will be checked at the end of parsing. Default is true.
Defines if a checksum must be computed for the document while parsing. Default is false.
Defines if SelectNodes method will return null or empty collection when no node matched the XPath expression.
Setting this to true will return empty collection and false will return null. Default is false.
True to disable, false to enable the server side code.
Defines the default stream encoding to use. Default is System.Text.Encoding.Default.
Force to take the original comment instead of creating it
Defines if source text must be extracted while parsing errors.
If the document has a lot of errors, or cascading errors, parsing performance can be dramatically affected if set to true.
Default is false.
Defines the maximum length of source text or parse errors. Default is 100.
Defines if LI, TR, TH, TD tags must be partially fixed when nesting errors are detected. Default is false.
Defines if output must conform to XML, instead of HTML. Default is false.
If used together with and enabled, Xml namespaces in element names are preserved. Default is false.
Defines if attribute value output must be optimized (not bound with double quotes if it is possible). Default is false.
Defines the global attribute value quote. When specified, it will always win.
Defines if name must be output with it's original case. Useful for asp.net tags and attributes. Default is false.
Defines if name must be output in uppercase. Default is false.
Defines if declared encoding must be read from the document.
Declared encoding is determined using the meta http-equiv="content-type" content="text/html;charset=XXXXX" html node.
Default is true.
Defines the name of a node that will throw the StopperNodeException when found as an end node. Default is null.
Defines if the 'id' attribute must be specifically used. Default is true.
Defines if empty nodes must be written as closed during output. Default is false.
The max number of nested child nodes.
Added to prevent stackoverflow problem when a page has tens of thousands of opening html tags with no closing tags
Creates an instance of an HTML document.
Gets the parsed text.
The parsed text.
Defines the max level we would go deep into the html document. If this depth level is exceeded, and exception is
thrown.
Gets the document CRC32 checksum if OptionComputeChecksum was set to true before parsing, 0 otherwise.
Gets the document's declared encoding.
Declared encoding is determined using the meta http-equiv="content-type" content="text/html;charset=XXXXX" html node (pre-HTML5) or the meta charset="XXXXX" html node (HTML5).
Gets the root node of the document.
Gets the document's output encoding.
Gets a list of parse errors found in the document.
Gets the remaining text.
Will always be null if OptionStopperNodeName is null.
Gets the offset of Remainder in the original Html text.
If OptionStopperNodeName is null, this will return the length of the original Html text.
Gets the document's stream encoding.
Gets a valid XML name.
Any text.
A string that is a valid XML name.
Applies HTML encoding to a specified string.
The input string to encode. May not be null.
The encoded string.
Determines if the specified character is considered as a whitespace character.
The character to check.
true if if the specified character is considered as a whitespace character.
Creates an HTML attribute with the specified name.
The name of the attribute. May not be null.
The new HTML attribute.
Creates an HTML attribute with the specified name.
The name of the attribute. May not be null.
The value of the attribute.
The new HTML attribute.
Creates an HTML comment node.
The new HTML comment node.
Creates an HTML comment node with the specified comment text.
The comment text. May not be null.
The new HTML comment node.
Creates an HTML element node with the specified name.
The qualified name of the element. May not be null.
The new HTML node.
Creates an HTML text node.
The new HTML text node.
Creates an HTML text node with the specified text.
The text of the node. May not be null.
The new HTML text node.
Detects the encoding of an HTML stream.
The input stream. May not be null.
The detected encoding.
Detects the encoding of an HTML stream.
The input stream. May not be null.
The html is checked.
The detected encoding.
Detects the encoding of an HTML text provided on a TextReader.
The TextReader used to feed the HTML. May not be null.
The detected encoding.
Detects the encoding of an HTML text.
The input html text. May not be null.
The detected encoding.
Gets the HTML node with the specified 'id' attribute value.
The attribute id to match. May not be null.
The HTML node with the matching id or null if not found.
Loads an HTML document from a stream.
The input stream.
Loads an HTML document from a stream.
The input stream.
Indicates whether to look for byte order marks at the beginning of the stream.
Loads an HTML document from a stream.
The input stream.
The character encoding to use.
Loads an HTML document from a stream.
The input stream.
The character encoding to use.
Indicates whether to look for byte order marks at the beginning of the stream.
Loads an HTML document from a stream.
The input stream.
The character encoding to use.
Indicates whether to look for byte order marks at the beginning of the stream.
The minimum buffer size.
Loads the HTML document from the specified TextReader.
The TextReader used to feed the HTML data into the document. May not be null.
Loads the HTML document from the specified string.
String containing the HTML document to load. May not be null.
Saves the HTML document to the specified stream.
The stream to which you want to save.
Saves the HTML document to the specified stream.
The stream to which you want to save. May not be null.
The character encoding to use. May not be null.
Saves the HTML document to the specified StreamWriter.
The StreamWriter to which you want to save.
Saves the HTML document to the specified TextWriter.
The TextWriter to which you want to save. May not be null.
Saves the HTML document to the specified XmlWriter.
The XmlWriter to which you want to save.
Detects the encoding of an HTML document from a file first, and then loads the file.
The complete file path to be read.
Detects the encoding of an HTML document from a file first, and then loads the file.
The complete file path to be read. May not be null.
true to detect encoding, false otherwise.
Detects the encoding of an HTML file.
Path for the file containing the HTML document to detect. May not be null.
The detected encoding.
Loads an HTML document from a file.
The complete file path to be read. May not be null.
Loads an HTML document from a file.
The complete file path to be read. May not be null.
Indicates whether to look for byte order marks at the beginning of the file.
Loads an HTML document from a file.
The complete file path to be read. May not be null.
The character encoding to use. May not be null.
Loads an HTML document from a file.
The complete file path to be read. May not be null.
The character encoding to use. May not be null.
Indicates whether to look for byte order marks at the beginning of the file.
Loads an HTML document from a file.
The complete file path to be read. May not be null.
The character encoding to use. May not be null.
Indicates whether to look for byte order marks at the beginning of the file.
The minimum buffer size.
Saves the mixed document to the specified file.
The location of the file where you want to save the document.
Saves the mixed document to the specified file.
The location of the file where you want to save the document. May not be null.
The character encoding to use. May not be null.
Creates a new XPathNavigator object for navigating this HTML document.
An XPathNavigator object. The XPathNavigator is positioned on the root of the document.
Flags that describe the behavior of an Element node.
The node is a CDATA node.
The node is empty. META or IMG are example of such nodes.
The node will automatically be closed during parsing.
The node can overlap.
A utility class to replace special characters by entities and vice-versa.
Follows HTML 4.0 specification found at http://www.w3.org/TR/html4/sgml/entities.html
Follows Additional specification found at https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references
See also: https://html.spec.whatwg.org/multipage/named-characters.html#named-character-references
A collection of entities indexed by name.
A collection of entities indexed by value.
Replace known entities by characters.
The source text.
The result text.
Clone and entitize an HtmlNode. This will affect attribute values and nodes' text. It will also entitize all child nodes.
The node to entitize.
An entitized cloned node.
Replace characters above 127 by entities.
The source text.
The result text.
Replace characters above 127 by entities.
The source text.
If set to false, the function will not use known entities name. Default is true.
The result text.
Replace characters above 127 by entities.
The source text.
If set to false, the function will not use known entities name. Default is true.
If set to true, the [quote], [ampersand], [lower than] and [greather than] characters will be entitized.
The result text
Represents an HTML node.
Gets the name of a comment node. It is actually defined as '#comment'.
Gets the name of the document node. It is actually defined as '#document'.
Gets the name of a text node. It is actually defined as '#text'.
Gets a collection of flags that define specific behaviors for specific element nodes.
The table contains a DictionaryEntry list with the lowercase tag name as the Key, and a combination of HtmlElementFlags as the Value.
Initialize HtmlNode. Builds a list of all tags that have special allowances
Initializes HtmlNode, providing type, owner and where it exists in a collection
Gets the collection of HTML attributes for this node. May not be null.
Gets all the children of the node.
Gets a value indicating if this node has been closed or not.
Gets the collection of HTML attributes for the closing tag. May not be null.
Gets the closing tag of the node, null if the node is self-closing.
Gets the first child of the node.
Gets a value indicating whether the current node has any attributes.
Gets a value indicating whether this node has any child nodes.
Gets a value indicating whether the current node has any attributes on the closing tag.
Gets or sets the value of the 'id' HTML attribute. The document must have been parsed using the OptionUseIdAttribute set to true.
Gets or Sets the HTML between the start and end tags of the object.
Gets the text between the start and end tags of the object.
Gets direct inner text.
The direct inner text.
Gets the last child of the node.
Gets the line number of this node in the document.
Gets the column number of this node in the document.
Gets the stream position of the area between the opening and closing tag of the node, relative to the start of the document.
Gets the stream position of the area of the beginning of the tag, relative to the start of the document.
Gets the length of the area between the opening and closing tag of the node.
Gets the length of the entire node, opening and closing tag included.
Gets or sets this node's name.
Gets the HTML node immediately following this element.
Gets the type of this node.
The original unaltered name of the tag
Gets or Sets the object and its content in HTML.
Gets the to which this node belongs.
Gets the parent of this node (for nodes that can have parents).
Gets the node immediately preceding this node.
Gets the stream position of this node in the document, relative to the start of the document.
Gets a valid XPath string that points to this node
The depth of the node relative to the opening root html element. This value is used to determine if a document has to many nested html nodes which can cause stack overflows
Determines if an element node can be kept overlapped.
The name of the element node to check. May not be null.
true if the name is the name of an element node that can be kept overlapped, false otherwise.
Creates an HTML node from a string representing literal HTML.
The HTML text.
The newly created node instance.
Creates an HTML node from a string representing literal HTML.
The HTML text.
The HTML Document builder.
The newly created node instance.
Determines if an element node is a CDATA element node.
The name of the element node to check. May not be null.
true if the name is the name of a CDATA element node, false otherwise.
Determines if an element node is closed.
The name of the element node to check. May not be null.
true if the name is the name of a closed element node, false otherwise.
Determines if an element node is defined as empty.
The name of the element node to check. May not be null.
true if the name is the name of an empty element node, false otherwise.
Determines if a text corresponds to the closing tag of an node that can be kept overlapped.
The text to check. May not be null.
true or false.
Returns a collection of all ancestor nodes of this element.
Get Ancestors with matching name
Returns a collection of all ancestor nodes of this element.
Gets all anscestor nodes and the current node
Adds the specified node to the end of the list of children of this node.
The node to add. May not be null.
The node added.
Sets child nodes identifier.
The chil node.
Adds the specified node to the end of the list of children of this node.
The node list to add. May not be null.
Gets all Attributes with name
Creates a duplicate of the node
Creates a duplicate of the node and changes its name at the same time.
The new name of the cloned node. May not be null.
The cloned node.
Creates a duplicate of the node and changes its name at the same time.
The new name of the cloned node. May not be null.
true to recursively clone the subtree under the specified node; false to clone only the node itself.
The cloned node.
Creates a duplicate of the node.
true to recursively clone the subtree under the specified node; false to clone only the node itself.
The cloned node.
Creates a duplicate of the node and the subtree under it.
The node to duplicate. May not be null.
Creates a duplicate of the node.
The node to duplicate. May not be null.
true to recursively clone the subtree under the specified node, false to clone only the node itself.
Gets all Descendant nodes for this node and each of child nodes
The depth level of the node to parse in the html tree
the current element as an HtmlNode
Returns a collection of all descendant nodes of this element, in document order
Gets all Descendant nodes in enumerated list
Gets all Descendant nodes in enumerated list
Get all descendant nodes with matching name
Returns a collection of all descendant nodes of this element, in document order
Gets all descendant nodes including this node
Gets first generation child node matching name
Gets matching first generation child nodes matching name
Gets data attribute.
The key.
The data attribute.
Gets the data attributes in this collection.
An enumerator that allows foreach to be used to process the data attributes in this
collection.
Gets the attributes in this collection.
An enumerator that allows foreach to be used to process the attributes in this collection.
Gets the attributes in this collection.
A variable-length parameters list containing attribute names.
An enumerator that allows foreach to be used to process the attributes in this collection.
Helper method to get the value of an attribute of this node. If the attribute is not found, the default value will be returned.
The name of the attribute to get. May not be null.
The default value to return if not found.
The value of the attribute if found, the default value if not found.
Helper method to get the value of an attribute of this node. If the attribute is not found, the default value will be returned.
The name of the attribute to get. May not be null.
The default value to return if not found.
The value of the attribute if found, the default value if not found.
Helper method to get the value of an attribute of this node. If the attribute is not found, the default value will be returned.
The name of the attribute to get. May not be null.
The default value to return if not found.
The value of the attribute if found, the default value if not found.
Helper method to get the value of an attribute of this node. If the attribute is not found,
the default value will be returned.
The name of the attribute to get. May not be null.
The default value to return if not found.
The value of the attribute if found, the default value if not found.
Inserts the specified node immediately after the specified reference node.
The node to insert. May not be null.
The node that is the reference node. The newNode is placed after the refNode.
The node being inserted.
Inserts the specified node immediately before the specified reference node.
The node to insert. May not be null.
The node that is the reference node. The newChild is placed before this node.
The node being inserted.
Adds the specified node to the beginning of the list of children of this node.
The node to add. May not be null.
The node added.
Adds the specified node list to the beginning of the list of children of this node.
The node list to add. May not be null.
Removes node from parent collection
Removes all the children and/or attributes of the current node.
Removes all the children of the current node.
Removes all id for node described by node.
The node.
Move a node already associated and append it to this node instead.
The child node to move.
Move a children collection already associated and append it to this node instead.
The children collection already associated to move to another node.
Removes the children collection for this node.
The old children collection to remove.
Removes the specified child node.
The node being removed. May not be null.
The node removed.
Removes the specified child node.
The node being removed. May not be null.
true to keep grand children of the node, false otherwise.
The node removed.
Replaces the child node oldChild with newChild node.
The new node to put in the child list.
The node being replaced in the list.
The node replaced.
Helper method to set the value of an attribute of this node. If the attribute is not found, it will be created automatically.
The name of the attribute to set. May not be null.
The value for the attribute.
The corresponding attribute instance.
Saves all the children of the node to the specified TextWriter.
The TextWriter to which you want to save.
Identifies the level we are in starting at root with 0
Saves all the children of the node to a string.
The saved string.
Saves the current node to the specified TextWriter.
The TextWriter to which you want to save.
identifies the level we are in starting at root with 0
Saves the current node to the specified XmlWriter.
The XmlWriter to which you want to save.
Saves the current node to a string.
The saved string.
Sets the parent Html node and properly determines the current node's depth using the parent node's depth.
Adds one or more classes to this node.
The node list to add. May not be null.
Adds one or more classes to this node.
The node list to add. May not be null.
true to throw Error if class name exists, false otherwise.
Removes the class attribute from the node.
Removes the class attribute from the node.
true to throw Error if class name doesn't exist, false otherwise.
Removes the specified class from the node.
The class being removed. May not be null.
Removes the specified class from the node.
The class being removed. May not be null.
true to throw Error if class name doesn't exist, false otherwise.
Replaces the class name oldClass with newClass name.
The new class name.
The class being replaced.
Replaces the class name oldClass with newClass name.
The new class name.
The class being replaced.
true to throw Error if class name doesn't exist, false otherwise.
Gets the CSS Class from the node.
The CSS Class from the node
Check if the node class has the parameter class.
The class.
True if node class has the parameter class, false if not.
Fill an object and go through it's properties and fill them too.
Type of object to want to fill. It should have atleast one property that defined XPath.
Returns an object of type T including Encapsulated data.
Why it's thrown.
Why it's thrown.
Why it's thrown.
Why it's thrown.
Why it's thrown.
Why it's thrown.
Why it's thrown.
Why it's thrown.
Why it's thrown.
Fill an object and go through it's properties and fill them too.
Type of object to want to fill. It should have atleast one property that defined XPath.
If htmlDocument includes data , leave this parameter null. Else pass your specific htmldocument.
Returns an object of type T including Encapsulated data.
Why it's thrown.
Why it's thrown.
Why it's thrown.
Why it's thrown.
Why it's thrown.
Why it's thrown.
Why it's thrown.
Why it's thrown.
Why it's thrown.
Fill an object and go through it's properties and fill them too.
Type of object to want to fill. It should have atleast one property that defined XPath.
If htmlDocument includes data , leave this parameter null. Else pass your specific htmldocument.
Returns an object of type targetType including Encapsulated data.
Why it's thrown.
Why it's thrown.
Why it's thrown.
Why it's thrown.
Why it's thrown.
Why it's thrown.
Why it's thrown.
Why it's thrown.
Why it's thrown.
Creates a new XPathNavigator object for navigating this HTML node.
An XPathNavigator object. The XPathNavigator is positioned on the node from which the method was called. It is not positioned on the root of the document.
Creates an XPathNavigator using the root of this document.
Selects a list of nodes matching the expression.
The XPath expression.
An containing a collection of nodes matching the query, or null if no node matched the XPath expression.
Selects a list of nodes matching the expression.
The XPath expression.
An containing a collection of nodes matching the query, or null if no node matched the XPath expression.
Selects the first XmlNode that matches the XPath expression.
The XPath expression. May not be null.
The first that matches the XPath query or a null reference if no matching node was found.
Selects a list of nodes matching the expression.
The XPath expression.
An containing a collection of nodes matching the query, or null if no node matched the XPath expression.
Includes tools that GetEncapsulatedData method uses them.
Determine if a type define an attribute or not , supporting both .NetStandard and .NetFramework2.0
Type you want to test it.
Attribute that type must have or not.
If true , The type parameter define attributeType parameter.
Retrive properties of type that defined .
Type that you want to find it's XPath-Defined properties.
IEnumerable of property infos of a type , that defined specific attribute.
Determine if a has implemented BUT is considered as NONE-IEnumerable !
The property info you want to test.
True if property info is IEnumerable.
Returns T type(first generic type) of or .
IEnumerable-Implemented property
List of generic types.
Find and Return a mehtod that defined in a class by it's name.
Type of class include requested method.
Name of requested method as string.
Method info of requested method.
Create of given type.
Type that you want to make a List of it.
Returns IList of given type.
Returns the part of value of you want as .
A htmlNode instance.
Attribute that includes ReturnType
String that choosen from HtmlNode as result.
Returns parts of values of you want as .
that you want to retrive each value.
A instnce incules .
Type of IList generic you want.
Simulate Func method to use in Lambada Expression.
This method works like Where method in LINQ.
Check if the type can instantiated.
Returns count of elements stored in IEnumerable of T
Specify which part of is requested.
The text between the start and end tags of the object.
The HTML between the start and end tags of the object
The object and its content in HTML
Just mark and flag classes to show they have properties that defined .
Includes XPath and . XPath for finding html tags and for specify which part of you want to return.
XPath Expression that is used to find related html node.
Html Attribute name
The methode of output
Specify Xpath to find related Html Node.
Specify Xpath to find related Html Node.
Specify you want the output include html text too.
Specify Xpath and Attribute to find related Html Node and its attribute value.
Tagging a property with this Attribute make Encapsulator to ignore that property if it causes an error.
Exception that often occures when there is no way to bind a XPath to a Html Tag.
Exception that often occures when there is no way to bind a XPath to a HtmlTag Attribute.
Exception that often occures when there is no property that assigned with XPath Property in Class.
Represents a combined list and collection of HTML nodes.
Initialize the HtmlNodeCollection with the base parent node
The base node of the collection
Gets the parent node associated to the collection.
Gets a given node from the list.
Get node with tag name
Gets the number of elements actually contained in the list.
Is collection read only
Gets the node at the specified index.
Add node to the collection
Add node to the collection
Clears out the collection of HtmlNodes. Removes each nodes reference to parentnode, nextnode and prevnode
Gets existence of node in collection
Copy collection to array
Get Enumerator
Get Explicit Enumerator
Get index of node
Insert node at index
Remove node
Remove at index
Get first instance of node in supplied collection
Add node to the end of the collection
Get first instance of node with name
Get index of node
Add node to the beginning of the collection
Remove node at index
Replace node at index
Get all node descended from this collection
Get all node descended from this collection with matching name
Gets all first generation elements in collection
Gets all first generation elements matching name
All first generation nodes in collection
Represents an HTML navigator on an HTML document seen as a data store.
Initializes a new instance of the HtmlNavigator and loads an HTML document from a stream.
The input stream.
Initializes a new instance of the HtmlNavigator and loads an HTML document from a stream.
The input stream.
Indicates whether to look for byte order marks at the beginning of the stream.
Initializes a new instance of the HtmlNavigator and loads an HTML document from a stream.
The input stream.
The character encoding to use.
Initializes a new instance of the HtmlNavigator and loads an HTML document from a stream.
The input stream.
The character encoding to use.
Indicates whether to look for byte order marks at the beginning of the stream.
Initializes a new instance of the HtmlNavigator and loads an HTML document from a stream.
The input stream.
The character encoding to use.
Indicates whether to look for byte order marks at the beginning of the stream.
The minimum buffer size.
Initializes a new instance of the HtmlNavigator and loads an HTML document from a TextReader.
The TextReader used to feed the HTML data into the document.
Initializes a new instance of the HtmlNavigator and loads an HTML document from a file.
The complete file path to be read.
Initializes a new instance of the HtmlNavigator and loads an HTML document from a file.
The complete file path to be read.
Indicates whether to look for byte order marks at the beginning of the file.
Initializes a new instance of the HtmlNavigator and loads an HTML document from a file.
The complete file path to be read.
The character encoding to use.
Initializes a new instance of the HtmlNavigator and loads an HTML document from a file.
The complete file path to be read.
The character encoding to use.
Indicates whether to look for byte order marks at the beginning of the file.
Initializes a new instance of the HtmlNavigator and loads an HTML document from a file.
The complete file path to be read.
The character encoding to use.
Indicates whether to look for byte order marks at the beginning of the file.
The minimum buffer size.
Gets the base URI for the current node.
Always returns string.Empty in the case of HtmlNavigator implementation.
Gets the current HTML document.
Gets the current HTML node.
Gets a value indicating whether the current node has child nodes.
Gets a value indicating whether the current node has child nodes.
Gets a value indicating whether the current node is an empty element.
Gets the name of the current HTML node without the namespace prefix.
Gets the qualified name of the current node.
Gets the namespace URI (as defined in the W3C Namespace Specification) of the current node.
Always returns string.Empty in the case of HtmlNavigator implementation.
Gets the associated with this implementation.
Gets the type of the current node.
Gets the prefix associated with the current node.
Always returns string.Empty in the case of HtmlNavigator implementation.
Gets the text value of the current node.
Gets the xml:lang scope for the current node.
Always returns string.Empty in the case of HtmlNavigator implementation.
Creates a new HtmlNavigator positioned at the same node as this HtmlNavigator.
A new HtmlNavigator object positioned at the same node as the original HtmlNavigator.
Gets the value of the HTML attribute with the specified LocalName and NamespaceURI.
The local name of the HTML attribute.
The namespace URI of the attribute. Unsupported with the HtmlNavigator implementation.
The value of the specified HTML attribute. String.Empty or null if a matching attribute is not found or if the navigator is not positioned on an element node.
Returns the value of the namespace node corresponding to the specified local name.
Always returns string.Empty for the HtmlNavigator implementation.
The local name of the namespace node.
Always returns string.Empty for the HtmlNavigator implementation.
Determines whether the current HtmlNavigator is at the same position as the specified HtmlNavigator.
The HtmlNavigator that you want to compare against.
true if the two navigators have the same position, otherwise, false.
Moves to the same position as the specified HtmlNavigator.
The HtmlNavigator positioned on the node that you want to move to.
true if successful, otherwise false. If false, the position of the navigator is unchanged.
Moves to the HTML attribute with matching LocalName and NamespaceURI.
The local name of the HTML attribute.
The namespace URI of the attribute. Unsupported with the HtmlNavigator implementation.
true if the HTML attribute is found, otherwise, false. If false, the position of the navigator does not change.
Moves to the first sibling of the current node.
true if the navigator is successful moving to the first sibling node, false if there is no first sibling or if the navigator is currently positioned on an attribute node.
Moves to the first HTML attribute.
true if the navigator is successful moving to the first HTML attribute, otherwise, false.
Moves to the first child of the current node.
true if there is a first child node, otherwise false.
Moves the XPathNavigator to the first namespace node of the current element.
Always returns false for the HtmlNavigator implementation.
An XPathNamespaceScope value describing the namespace scope.
Always returns false for the HtmlNavigator implementation.
Moves to the node that has an attribute of type ID whose value matches the specified string.
A string representing the ID value of the node to which you want to move. This argument does not need to be atomized.
true if the move was successful, otherwise false. If false, the position of the navigator is unchanged.
Moves the XPathNavigator to the namespace node with the specified local name.
Always returns false for the HtmlNavigator implementation.
The local name of the namespace node.
Always returns false for the HtmlNavigator implementation.
Moves to the next sibling of the current node.
true if the navigator is successful moving to the next sibling node, false if there are no more siblings or if the navigator is currently positioned on an attribute node. If false, the position of the navigator is unchanged.
Moves to the next HTML attribute.
Moves the XPathNavigator to the next namespace node.
Always returns falsefor the HtmlNavigator implementation.
An XPathNamespaceScope value describing the namespace scope.
Always returns false for the HtmlNavigator implementation.
Moves to the parent of the current node.
true if there is a parent node, otherwise false.
Moves to the previous sibling of the current node.
true if the navigator is successful moving to the previous sibling node, false if there is no previous sibling or if the navigator is currently positioned on an attribute node.
Moves to the root node to which the current node belongs.
Represents the type of a node.
The root of a document.
An HTML element.
An HTML comment.
A text node is always the child of an element or a document node.
Represents a parsing error found during document parsing.
Gets the type of error.
Gets the line number of this error in the document.
Gets the column number of this error in the document.
Gets a description for the error.
Gets the the full text of the line containing the error.
Gets the absolute stream position of this error in the document, relative to the start of the document.
Represents the type of parsing error.
A tag was not closed.
A tag was not opened.
There is a charset mismatch between stream and declared (META) encoding.
An end tag was not required.
An end tag is invalid at this position.
Represents an HTML text node.
Gets or Sets the HTML between the start and end tags of the object. In the case of a text node, it is equals to OuterHtml.
Gets or Sets the object and its content in HTML.
Gets or Sets the text of the node.
A utility class to get HTML document from HTTP.
Represents the method that will handle the PostResponse event.
Represents the method that will handle the PreHandleDocument event.
Represents the method that will handle the PreRequest event.
Occurs after an HTTP request has been executed.
Occurs before an HTML document is handled.
Occurs before an HTTP request is executed.
Gets or Sets a value indicating if document encoding must be automatically detected.
Gets or sets the Encoding used to override the response stream from any web request
Gets or Sets a value indicating whether to get document only from the cache.
If this is set to true and document is not found in the cache, nothing will be loaded.
Gets or Sets a value indicating whether to get document from the cache if exists, otherwise from the web
A value indicating whether to get document from the cache if exists, otherwise from the web
Gets or Sets the cache path. If null, no caching mechanism will be used.
Gets a value indicating if the last document was retrieved from the cache.
Gets the last request duration in milliseconds.
Gets the URI of the Internet resource that actually responded to the request.
Gets the last request status.
Gets or Sets the size of the buffer used for memory operations.
Gets or Sets a value indicating if cookies will be stored.
Gets or sets a value indicating whether redirect should be captured instead of the current location.
True if capture redirect, false if not.
Gets or Sets the User Agent HTTP 1.1 header sent on any webrequest
Gets or Sets a value indicating whether the caching mechanisms should be used or not.
Gets the MIME content type for a given path extension.
The input path extension.
The default content type to return if any error occurs.
The path extension's MIME content type.
Gets the path extension for a given MIME content type.
The input MIME content type.
The default path extension to return if any error occurs.
The MIME content type's path extension.
Creates an instance of the given type from the specified Internet resource.
The requested URL, such as "http://Myserver/Mypath/Myfile.asp".
The requested type.
An newly created instance.
Gets an HTML document from an Internet resource and saves it to the specified file.
The requested URL, such as "http://Myserver/Mypath/Myfile.asp".
The location of the file where you want to save the document.
Gets an HTML document from an Internet resource and saves it to the specified file. - Proxy aware
The requested URL, such as "http://Myserver/Mypath/Myfile.asp".
The location of the file where you want to save the document.
Gets an HTML document from an Internet resource and saves it to the specified file.
The requested URL, such as "http://Myserver/Mypath/Myfile.asp".
The location of the file where you want to save the document.
The HTTP method used to open the connection, such as GET, POST, PUT, or PROPFIND.
Gets an HTML document from an Internet resource and saves it to the specified file. Understands Proxies
The requested URL, such as "http://Myserver/Mypath/Myfile.asp".
The location of the file where you want to save the document.
The HTTP method used to open the connection, such as GET, POST, PUT, or PROPFIND.
Gets the cache file path for a specified url.
The url fo which to retrieve the cache path. May not be null.
The cache file path.
Gets an HTML document from an Internet resource.
The requested URL, such as "http://Myserver/Mypath/Myfile.asp".
A new HTML document.
Gets an HTML document from an Internet resource.
The requested Uri, such as new Uri("http://Myserver/Mypath/Myfile.asp").
A new HTML document.
Gets an HTML document from an Internet resource.
The requested URL, such as "http://Myserver/Mypath/Myfile.asp".
Host to use for Proxy
Port the Proxy is on
User Id for Authentication
Password for Authentication
A new HTML document.
Gets an HTML document from an Internet resource.
The requested Uri, such as new Uri("http://Myserver/Mypath/Myfile.asp").
Host to use for Proxy
Port the Proxy is on
User Id for Authentication
Password for Authentication
A new HTML document.
Loads an HTML document from an Internet resource.
The requested URL, such as "http://Myserver/Mypath/Myfile.asp".
The HTTP method used to open the connection, such as GET, POST, PUT, or PROPFIND.
A new HTML document.
Loads an HTML document from an Internet resource.
The requested URL, such as new Uri("http://Myserver/Mypath/Myfile.asp").
The HTTP method used to open the connection, such as GET, POST, PUT, or PROPFIND.
A new HTML document.
Loads an HTML document from an Internet resource.
The requested URL, such as "http://Myserver/Mypath/Myfile.asp".
The HTTP method used to open the connection, such as GET, POST, PUT, or PROPFIND.
Proxy to use with this request
Credentials to use when authenticating
A new HTML document.
Loads an HTML document from an Internet resource.
The requested Uri, such as new Uri("http://Myserver/Mypath/Myfile.asp").
The HTTP method used to open the connection, such as GET, POST, PUT, or PROPFIND.
Proxy to use with this request
Credentials to use when authenticating
A new HTML document.
Loads an HTML document from an Internet resource and saves it to the specified XmlTextWriter.
The requested URL, such as "http://Myserver/Mypath/Myfile.asp".
The XmlTextWriter to which you want to save to.
Creates an instance of the given type from the specified Internet resource.
The requested URL, such as "http://Myserver/Mypath/Myfile.asp".
The URL that specifies the XSLT stylesheet to load.
An containing the namespace-qualified arguments used as input to the transform.
The requested type.
An newly created instance.
Creates an instance of the given type from the specified Internet resource.
The requested URL, such as "http://Myserver/Mypath/Myfile.asp".
The URL that specifies the XSLT stylesheet to load.
An containing the namespace-qualified arguments used as input to the transform.
The requested type.
A file path where the temporary XML before transformation will be saved. Mostly used for debugging purposes.
An newly created instance.
Loads an HTML document from an Internet resource and saves it to the specified XmlTextWriter, after an XSLT transformation.
The requested URL, such as "http://Myserver/Mypath/Myfile.asp".
The URL that specifies the XSLT stylesheet to load.
An XsltArgumentList containing the namespace-qualified arguments used as input to the transform.
The XmlTextWriter to which you want to save.
Loads an HTML document from an Internet resource and saves it to the specified XmlTextWriter, after an XSLT transformation.
The requested URL, such as "http://Myserver/Mypath/Myfile.asp". May not be null.
The URL that specifies the XSLT stylesheet to load.
An XsltArgumentList containing the namespace-qualified arguments used as input to the transform.
The XmlTextWriter to which you want to save.
A file path where the temporary XML before transformation will be saved. Mostly used for debugging purposes.
Represents an exception thrown by the HtmlWeb utility class.
Creates an instance of the HtmlWebException.
The exception's message.
Represents a document with mixed code and text. ASP, ASPX, JSP, are good example of such documents.
Gets or sets the token representing code end.
Gets or sets the token representing code start.
Gets or sets the token representing code directive.
Gets or sets the token representing response write directive.
Creates a mixed code document instance.
Gets the code represented by the mixed code document seen as a template.
Gets the list of code fragments in the document.
Gets the list of all fragments in the document.
Gets the encoding of the stream used to read the document.
Gets the list of text fragments in the document.
Create a code fragment instances.
The newly created code fragment instance.
Create a text fragment instances.
The newly created text fragment instance.
Loads a mixed code document from a stream.
The input stream.
Loads a mixed code document from a stream.
The input stream.
Indicates whether to look for byte order marks at the beginning of the file.
Loads a mixed code document from a stream.
The input stream.
The character encoding to use.
Loads a mixed code document from a stream.
The input stream.
The character encoding to use.
Indicates whether to look for byte order marks at the beginning of the file.
Loads a mixed code document from a stream.
The input stream.
The character encoding to use.
Indicates whether to look for byte order marks at the beginning of the file.
The minimum buffer size.
Loads a mixed code document from a file.
The complete file path to be read.
Loads a mixed code document from a file.
The complete file path to be read.
Indicates whether to look for byte order marks at the beginning of the file.
Loads a mixed code document from a file.
The complete file path to be read.
The character encoding to use.
Loads a mixed code document from a file.
The complete file path to be read.
The character encoding to use.
Indicates whether to look for byte order marks at the beginning of the file.
Loads a mixed code document from a file.
The complete file path to be read.
The character encoding to use.
Indicates whether to look for byte order marks at the beginning of the file.
The minimum buffer size.
Loads the mixed code document from the specified TextReader.
The TextReader used to feed the HTML data into the document.
Loads a mixed document from a text
The text to load.
Saves the mixed document to the specified stream.
The stream to which you want to save.
Saves the mixed document to the specified stream.
The stream to which you want to save.
The character encoding to use.
Saves the mixed document to the specified file.
The location of the file where you want to save the document.
Saves the mixed document to the specified file.
The location of the file where you want to save the document.
The character encoding to use.
Saves the mixed document to the specified StreamWriter.
The StreamWriter to which you want to save.
Saves the mixed document to the specified TextWriter.
The TextWriter to which you want to save.
Represents a fragment of code in a mixed code document.
Gets the fragment code text.
Represents a base class for fragments in a mixed code document.
Gets the fragement text.
Gets the type of fragment.
Gets the line number of the fragment.
Gets the line position (column) of the fragment.
Gets the fragment position in the document's stream.
Represents a list of mixed code fragments.
Gets the Document
Gets the number of fragments contained in the list.
Gets a fragment from the list using its index.
Gets an enumerator that can iterate through the fragment list.
Appends a fragment to the list of fragments.
The fragment to append. May not be null.
Gets an enumerator that can iterate through the fragment list.
Prepends a fragment to the list of fragments.
The fragment to append. May not be null.
Remove a fragment from the list of fragments. If this fragment was not in the list, an exception will be raised.
The fragment to remove. May not be null.
Remove all fragments from the list.
Remove a fragment from the list of fragments, using its index in the list.
The index of the fragment to remove.
Represents a fragment enumerator.
Gets the current element in the collection.
Gets the current element in the collection.
Advances the enumerator to the next element of the collection.
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
Sets the enumerator to its initial position, which is before the first element in the collection.
Represents the type of fragment in a mixed code document.
The fragment contains code.
The fragment contains text.
Represents a fragment of text in a mixed code document.
Gets the fragment text.
消息客户端类
判断当前消息主服务器是否创建成功
最后一次接收消息的时间,可用来判断服务端是否有响应
主句柄
当收到消息时激发
连接上主服务器时触发
收到服务端关闭通知
收到服务端关闭通知,即将关闭
服务端大小改变时激发
实例化客户端
服务端ID
当前客户端ID,会向服务器报告当前ID
客户端
断开服务端连接
发送消息,采用多线程发送
向服务端发送心跳包
判断服务端句柄是否存在。
共享内存
写共享内存
需要映射的文件的字节数量
映射对象(简单类型、结构体等)
文件映射对象的名称
写共享内存
需要映射的文件的字节数量
映射对象(简单类型、结构体等)
文件映射对象的名称
发送消息的窗口句柄
发送消息
读共享内存
需要映射的文件的字节数量
类型
文件映射对象的名称
返回读到的映射对象
读共享内存
需要映射的文件的字节数量
类型
文件映射对象的名称
返回读到的映射字节数据
消息服务器
消息事件
大小改变事件
即将关闭事件
当收到消息时激发
消息处理类
发送消息,采用单线程发送
要发送到的句柄
编号
消息内容
发送消息,采用多线程发送
要发送到的句柄
编号
消息内容
消息类
是否取消
来源句柄
消息文本
需要回复的内容
消息服务端类
判断当前消息主服务器是否创建成功
当收到消息时激发
当收到自定义消息时(非系统消息)激发
有消息客户端发起连接请求时激发
有消息客户端连接成功时激发
有消息客户端断开连接时激发
服务端ID,需要唯一性,共客户端识别
服务端
释放资源
判断是否包含指定客户端
设置客户端大小
根据客户端ID,获取客户端对象
根据客户端句柄,获取客户端对象
关闭所有客户端
关闭指定客户端
关闭指定客户端
向所有客户端发送消息,单线程
向指定客户端发送消息
关闭在指定时间前失去响应的子客户端
客户端信息
客户端句柄
客户端ID
客户端连接时间
心跳时间
数据库引擎
数据库枚举类型
Odbc引擎
OleDb引擎
Oracle引擎
MSSQL引擎
SQLite引擎
MySql引擎
判断DataSet是否包含数据
获取首行数据
获取第一行第一列的值
将DataSet类型转换为RyQuickSQL列表类型
将DataSet类型转换为RyQuickSQL列表类型
数据库操作接口
连接数据库
断开数据库
获取数量
获取分页语句
获取分页语句
获取分页语句
获取分页语句
添加Parameter参数
清空Parameter参数
获取Parameter值
根据RyQuickSQL类来获取Parameter值
开始执行事务
提交事务
判断是否包含数据
返回-1000表示该数据库不支持本接口
读取数据
读取数据
读取数据
根据id号获取数据
执行SQL语句
执行SQL语句
执行SQL语句
根据id号删除数据
创建数据库
释放资源
连接数据库
数据库连接字符串
连接数据库
数据源
数据库名称
用户id
用户密码
连接数据库
关闭数据库
运行SQL命令
SQL语句
SQL命令参数
运行失败,则返回-1,否则返回影响的行数
运行SQL命令
SQL语句
运行失败,则返回-1,否则返回影响的行数
运行SQL命令,并返回结果
SQL语句
SQL命令参数
运行失败,则返回null,否则返回以数组显示的字符串
运行SQL命令,并返回结果
SQL语句
SQL命令参数
数组第一个默认的值
运行失败,则返回null,否则返回以数组显示的字符串
运行SQL命令,并返回结果
SQL语句
运行失败,则返回null,否则返回以数组显示的字符串
运行SQL命令,并返回结果
SQL语句
数组第一个默认的值
运行失败,则返回DefFristValue,否则返回以数组显示的字符串
清空指定表的所有数据
表名
运行失败,则返回-1,否则返回影响的行数
判断指定值是否存在
表名
指定值所属字段
指定值
当前id,如果是新增记录,请填写-1
判断SQL语句是否有结果返回
SQL语句
SQL命令参数
运行失败,则返回-1;存在结果,返回1;不存在结果,返回0
判断SQL语句是否有结果返回
SQL语句
运行失败,则返回-1;存在结果,返回1;不存在结果,返回0
SQL字段类型
SQL字段类型
SQL字段类型
SQL字段名
SQL字段值
SQL字段长度
不是真的值,而是用于计算的值
SQL快速操作类
SQL快速操作类
表名
操作字段列表
清理使用资源
清理使用资源
清理使用资源
操作参数列表
操作参数列表
添加字符串字段
添加null值字段
添加日期字段
添加int字段
添加double字段
添加decimal字段
添加bool字段
添加用于计算的值
添加Int64字段
清空内容
数量
输出多条件搜索。
字段名,多个字段请用逗号分隔。
多个条件之间请用空格隔开
获取插入SQL语句
获取更新SQL语句
添加参数
获取Ole参数
获取SQL参数
一个强类型的资源类,用于查找本地化的字符串等。
返回此类使用的缓存的 ResourceManager 实例。
重写当前线程的 CurrentUICulture 属性,对
使用此强类型资源类的所有资源查找执行重写。
查找 System.Drawing.Bitmap 类型的本地化资源。
查找 System.Drawing.Bitmap 类型的本地化资源。
查找 System.Drawing.Bitmap 类型的本地化资源。
查找 System.Drawing.Bitmap 类型的本地化资源。
查找 System.Drawing.Bitmap 类型的本地化资源。
查找 System.Drawing.Bitmap 类型的本地化资源。
查找 System.Drawing.Bitmap 类型的本地化资源。
查找 System.Drawing.Bitmap 类型的本地化资源。
查找 System.Drawing.Bitmap 类型的本地化资源。
查找 System.Drawing.Bitmap 类型的本地化资源。
查找 System.Drawing.Bitmap 类型的本地化资源。
查找 System.Drawing.Bitmap 类型的本地化资源。
查找 System.Drawing.Bitmap 类型的本地化资源。
查找 System.Drawing.Bitmap 类型的本地化资源。
查找 System.Drawing.Bitmap 类型的本地化资源。
Win32 API
WM_COPYDATA消息的主要目的是允许在进程间传递只读数据。
系统通道ID
用户通道ID
获取消息
发送消息
设置父窗口
Http连接操作帮助类
根据相传入的数据,得到相应页面数据
参数类对象
返回HttpResult类型
获取数据的并解析的方法
设置编码
HttpItem
HttpResult
byte[]
提取网页Byte
为请求准备参数
参数列表
设置证书
设置多个证书
设置Cookie
Http参数
设置Post数据
Http参数
设置代理
参数对象
回调验证证书问题
流对象
证书
X509Chain
SslPolicyErrors
bool
通过设置这个属性,可以在发出连接的时候绑定客户端发出连接所使用的IP地址。
Http请求参考类
请求URL必须填写
请求方式默认为GET方式,当为POST方式时必须设置Postdata的值
默认请求超时时间
默认写入Post数据超时间
设置Host的标头信息
获取或设置一个值,该值指示是否与 Internet 资源建立持久性连接默认为true。
请求标头值 默认为text/html, application/xhtml+xml, */*
请求返回类型默认 text/html
客户端访问信息默认Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)
返回数据编码默认为NUll,可以自动识别,一般为utf-8,gbk,gb2312
Post的数据类型
Post请求时要发送的字符串Post数据
Post请求时要发送的Byte类型的Post数据
Cookie对象集合
请求时的Cookie
来源地址,上次访问地址
证书绝对路径
设置代理对象,不想使用IE默认配置就设置为Null,而且不要设置ProxyIp
是否设置为全文小写,默认为不转化
支持跳转页面,查询结果将是跳转后的页面,默认是不跳转
最大连接数
代理Proxy 服务器用户名
代理 服务器密码
代理 服务IP,如果要使用IE代理就设置为ieproxy
设置返回类型String和Byte
header对象
获取或设置用于请求的 HTTP 版本。返回结果:用于请求的 HTTP 版本。默认为 System.Net.HttpVersion.Version11。
获取或设置一个 System.Boolean 值,该值确定是否使用 100-Continue 行为。如果 POST 请求需要 100-Continue 响应,则为 true;否则为 false。默认值为 true。
设置509证书集合
设置或获取Post参数编码,默认的为Default编码
Cookie返回类型,默认的是只返回字符串类型
获取或设置请求的身份验证信息。
设置请求将跟随的重定向的最大数目
获取和设置IfModifiedSince,默认为当前日期和时间
设置本地的出口ip和端口
]
item.IPEndPoint = new IPEndPoint(IPAddress.Parse("192.168.1.1"),80);
Http返回参数类
Http请求返回的Cookie
Cookie对象集合
返回的String类型数据 只有ResultType.String时才返回数据,其它情况为空
返回的Byte数组 只有ResultType.Byte时才返回数据,其它情况为空
header对象
返回状态说明
返回状态码,默认为OK
最后访问的URl
获取重定向的URl
返回类型
表示只返回字符串 只有Html有数据
表示返回字符串和字节流 ResultByte和Html都有数据返回
Post的数据格式默认为string
字符串类型,这时编码Encoding可不设置
Byte类型,需要设置PostdataByte参数的值编码Encoding可设置为空
传文件,Postdata必须设置为文件的绝对路径,必须设置Encoding的值
Cookie返回类型
只返回字符串类型的Cookie
CookieCollection格式的Cookie集合同时也返回String类型的cookie
以post方式获取网页源码
以post方式提交json内容
以post方式提交json内容
以post方式获取网页源码
以post方式获取网页源码
获取网址对应的文件大小
获取网页源码
获取网页源码
获取网页源码
将相对网址转换成绝对网址
相对网址
当前页面地址
转换后的绝对网址
url解密
url解密,按UTF8方式解密
Url加密
Url加密,按UTF8方式加密
解密
加密
url加密,Unicode
Html解码,将html里未转义成功的重新转义。
AES加密解密类
AES加密算法
明文字符串
密钥
返回加密后的密文字节数组
AES解密
密文字节数组
密钥
返回解密后的字符串
加密
解码
转换密钥到合法密钥
Base64编码类
编码
把字符串编码成Base64字符串
解码
MD5和SHA1操作类
计算文件MD5。
通过MD5CryptoServiceProvider类中的ComputeHash方法直接传入一个FileStream类实现计算MD5
操作简单,代码少,调用即可
文件地址
MD5Hash
计算文件MD5。
通过HashAlgorithm的TransformBlock方法对流进行叠加运算获得MD5
实现稍微复杂,但可使用与传输文件或接收文件时同步计算MD5值
可自定义缓冲区大小,计算速度较快
文件地址
MD5Hash
获取MD5
获取MD5
获取SHA1
获取SHA1
获取HmacSHA1
获取SHA256
获取HmacSHA256
获取SHA224
获取SHA512
获取HmacSHA512
使用using代替lock操作的对象,可指定写入和读取锁定模式
利用IDisposable的using语法糖方便的释放锁定操作
内部类
读写锁对象
是否为写入模式
利用IDisposable的using语法糖方便的释放锁定操作
构造函数
读写锁
写入模式为true,读取模式为false
释放对象时退出指定锁定模式
空的可释放对象,免去了调用时需要判断是否为null的问题
内部类
空的可释放对象
空的释放方法
读写锁
保存数据
使用using代替lock操作的对象,可指定写入和读取锁定模式
构造函数
使用using代替lock操作的对象,可指定写入和读取锁定模式
构造函数
为Data属性设置初始值
获取或设置当前对象中保存数据的值
获取数据时未进入读取或写入锁定模式
设置数据时未进入写入锁定模式
是否启用,当该值为false时,Read()和Write()方法将返回 Disposable.Empty
进入读取锁定模式,该模式下允许多个读操作同时进行
退出读锁请将返回对象释放,建议使用using语块
Enabled为false时,返回Disposable.Empty;
在读取或写入锁定模式下重复执行,返回Disposable.Empty;
进入写入锁定模式,该模式下只允许同时执行一个读操作
退出读锁请将返回对象释放,建议使用using语块
Enabled为false时,返回Disposable.Empty;
在写入锁定模式下重复执行,返回Disposable.Empty;
读取模式下不能进入写入锁定状态
中国农历类,最大支持公元0-9999年
日期:2019-02-09
作者:http://www.cnblogs.com/zjfree/
日历类型
无效
Julian 日历
Gregorian 日历
有效
公历节日
农历节日
某个月第n个星期几
获取农历
获取农历
获得某农历年的闰月,返回 1~12 对应一月到十二月,返回 0 表示无闰月
农历搜索方向
无效
向上
向下
{* 日月食类型, 无, 日食, 月全食, 月偏食 }
无
日食
月全食
月偏食
{* 月相, 无, 朔, 望}
无
朔
望
获得某公历年月日的农历日数和该日月相以及日月食类型和时刻
获得某公历年月日的农历月数
获取阳历日期对应的农历日期
获得某公历年月日的农历月日和是否闰月的信息
获得等效标准日数对应的某公历日,倒推而来
比较两个农历日期(包括闰月信息),1 大于2返回1、1等于2返回0、1小于2返回-1
获得某农历年月日(加是否闰月)的公历年月日
该函数采用反向二分法查找
获取农历某一个月的总天数
获取农历年份,范围约1901-2101年
获取农历年份,范围约0-9999年
获取农历月份,范围约1901-2101年
获取农历月份,范围约0-9999年
获取中文表示的农历月份
获取农历日,范围约1901-2101年
获取农历日,范围约0-9999年
获取农历日,范围约0-9999年
获取节气,范围约1901-2101年
获取节气,范围约0-9999年
返回y年第n个节气(如小寒为1)的日差天数值(pd取值真假,分别表示平气和定气)
pd取值真假,分别表示平气和定气
获取等效标准日数
取本月天数,不考虑 1582 年 10 月的特殊情况
获取节气,范围约1901-2101年
获取节气,范围约0-9999年
获取节气
获取公历节日
获取公历节日
获取指定月份的第n个星期几的节日
返回星座,范围约1901-2101年
返回星座,范围约0-9999年
获取农历节日
获取农历节日
判断y年m月(1,2,..,12,下同)d日是Gregorian历还是Julian历(opt=1,2,3分别表示标准日历,Gregorge历和Julian历),是则返回1,是Julian历则返回0,若是Gregorge历所删去的那10天则返回-1
返回阳历y年m月d日的日差天数(在y年年内所走过的天数,如2000年3月1日为61)
返回阳历y年日差天数为x时所对应的月日数(如y=2000,x=274时,返回1001(表示10月1日,即返回100*m+d))
获取指定日期的节气。
要获取的年
要获取的月
立春:立是开始的意思,春是蠢动,表示万物开始有生气,这一天春天开始。
雨水:降雨开始,雨水将多。
惊蛰:春雷响动,惊动蛰伏地下冬眠的生物,它们将开始出土活动。
春分:这是春季九十天的中分点,这一天昼夜相等,所以古代曾称春分秋分为昼夜分。
清明:明洁晴朗,气候温暖,草木开始萌发繁茂。
谷雨:雨生百谷的意思。雨水增多,适时的降雨对谷物生长很为有利。
立夏:夏天开始,万物渐将随温暖的气候而生长。
小满:满指籽粒饱满,麦类等夏热作物这时开始结籽灌浆,即将饱满。
芒种:有芒作物开始成熟,此时也是秋季作物播种的最繁忙时节。
夏至:白天最长,黑夜最短,这一天中午太阳位置最高,日影短至终极,古代又称这一天为日北至或长日至。
小暑:暑是炎热,此时还未到达最热。
大暑:炎热的程度到达高峰。
立秋:秋天开始,植物快成熟了。
处暑:处是住的意思,表示暑气到此为止。
白露:地面水气凝结为露,色白,是天气开始转凉了。
秋分:秋季九十天的中间,这一天昼夜相等,同春分一样,太阳从正东升起正西落下。
寒露:水露先白而后寒,是气候将逐渐转冷的意思。
霜降:水气开始凝结成霜。
立冬:冬是终了,作物收割后要收藏起来的意思,这一天起冬天开始。
小雪:开始降雪,但还不多。
大雪:雪量由小增大。
冬至:这一天中午太阳在天空中位置最低,日影最长,白天最短, 黑夜最长,古代又称短日至或日南至。
小寒:冷气积久而为寒,此时尚未冷到顶点。
大寒:天候达到最寒冷的程度
获取年柱。
获得月柱
获取日柱。
返回甲子数x对应的天干数(如33为3)
返回甲子数x对应的地支数(如33为9)
获取日的天干地支
返回甲子数x对应的天干字符串
返回甲子数x对应的地支字符串
返回甲子数x对应的干支字符串
获取三伏开始时间
0表示1伏,1表示2伏,2表示3伏
节气
节气的时间。
节气名。
热键转换类
功能键。
修改键。
转换功能键到谷歌浏览器专用
将chrome功能键转换为普通功能键
按键值。
初始化类 的新实例。
The modifiers.
The key code.
初始化类 的新实例。
加载热键
加载热键
加载热键
判断是否是热键
获取当前热键
已重载,返回“Ctrl+Alt+A”格式的字符串。
类似“Ctrl+Alt+A”格式的字符串
返回“Ctrl+Alt+A”格式的字符串。
类似“Ctrl+Alt+A”格式的字符串
功能键
无
Alt键
Ctrl键
Shift键
Win键
热键类
热键类
热键注销
热键是否有效
释放热键
注册热键
注册热键
删除热键
删除所有热键
热键事件
当使用热键时发生的事件
热键消息过滤
热键类型
热键id
功能键
普通键
热键类型
结束进程
/
/
/
删除一个逻辑笔、画笔、字体、位图、区域或者调色板,释放所有与该对象有关的系统资源,在对象被删除之后,指定的句柄也就失效了。
选择一对象到指定的设备上下文环境中,该新对象替换先前的相同类型的对象。
创建一个与指定设备兼容的内存设备上下文环境(DC)。
为一个设备创建设备上下文环境。
删除指定的设备上下文环境(Dc)。
模拟鼠标点击
模拟按键
返回hWnd参数所指定的窗口的设备环境。
移动窗口
将消息信息传送给指定的窗口过程的函数。使用函数CallWindowsProc可进行窗口子分类。
通常来说,同一类的所有窗口共享一个窗口过程。子类是一个窗口或者相同类的一套窗口,
在其消息被传送到该类的窗口过程之前,这些消息是由另一个窗口过程进行解释和处理的。
用来改变指定窗口的属性.函数也将指定的一个32位值设置在窗口的额外存储空间的指定偏移位置。
用来改变指定窗口的属性.函数也将指定的一个32位值设置在窗口的额外存储空间的指定偏移位置。
设置弹出式窗口,层叠窗口或子窗口的父窗口
获得一个指定子窗口的父窗口句柄
Handle to the window whose parent window handle is to be retrieved.
If the window is a child window, the return value is a handle to the parent window. If the window is a top-level window, the return value is a handle to the owner window. If the window is a top-level unowned window or if the function fails, the return value is NULL.
获取系统菜单的句柄
拥有窗口菜单拷贝的窗口的句柄
标志位,指定将执行的操作
获取系统菜单的句柄
拥有窗口菜单拷贝的窗口的句柄
标志位,指定将执行的操作。
如果此参数为FALSE,GetSystemMenu返回当前使用窗口菜单的拷贝的句柄。该拷贝初始时与窗口菜单相同,但可以被修改。
如果此参数为TRUE,GetSystemMenu重置窗口菜单到缺省状态。如果存在先前的窗口菜单,将被销毁。
如果参数bRevert为FALSE,返回值是窗口菜单的拷贝的句柄:如果参数bRevert为TRUE,返回值是NULL。
从指定菜单删除一个菜单项或分离一个子菜单。
备注:只要一个菜单被修改,无论它是否在显示窗口里,应用程序都必须调用函数DrawMenuBar。
将被修改的菜单的句柄。
指定将被删除的菜单项,其含义由参数wFlags决定。
如果函数调用成功,返回非零值;如果函数调用失败,返回值是零。若想获得更多的错误信息,请调用GetLastError函数。
设置前台窗口
获取当前前台窗口句柄
获得当前活动窗体
活动窗口的句柄。如没有窗口处于活动状态或处于活动状态的窗口非当前线程创建,则返回零。
设置活动窗体
获取类名
获取当前线程对应的进程ID
判断指定句柄是否是一个窗口
获取窗口标题
发送消息
发送消息
发送消息
发送消息
发送消息
从文件中载入指针
判断窗口是否可见
查找窗口
The FindWindowEx function retrieves a handle to a window whose class name and window name match the specified strings. The function searches child windows, beginning with the one following the specified child window.
Handle to the parent window whose child windows are to be searched.
Handle to a child window.
Specifies class name.
Pointer to a null-terminated string that specifies the window name (the window's title).
If the function succeeds, the return value is a handle to the window that has the specified class and window names.If the function fails, the return value is NULL.
The InvalidateRect function adds a rectangle to the specified window's update region.
Handle to window.
Rectangle coordinates.
Erase state.
If the function succeeds, the return value is true.If the function fails, the return value is false.
The ValidateRect function validates the client area within a rectangle by removing the rectangle from the update region of the specified window.
Handle to window.
Validation rectangle coordinates.
If the function succeeds, the return value is true.If the function fails, the return value is false.
获取指定窗口的有关信息,也可用于获取窗口内存中指定偏移的32位度整型值。
检索一指定窗口的客户区域或整个屏幕的显示设备上下文环境的句柄,以后可以在GDI函数中使用该句柄来在设备上下文环境中绘图。
释放设备上下文环境(DC)供其他应用程序使用。函数的效果与设备上下文环境类型有关。它只释放公用的和设备上下文环境,对于类或私有的则无效。
获取桌面句柄
获取窗口客户区的大小。注意一下:窗口的客户区为窗口中除标题栏、菜单栏之外的地方。
返回指定窗口的边框矩形的尺寸。该尺寸以相对于屏幕坐标左上角的屏幕坐标给出。
更新一个分层窗口的位置,大小,形状,内容和半透明度
改变一个子窗口,弹出式窗口或顶层窗口的尺寸,位置和Z序。
子窗口,弹出式窗口,及顶层窗口根据它们在屏幕上出现的顺序排序、顶层窗口设置的级别最高,并且被设置为Z序的第一个窗口。
A handle to the window.
A handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following values.
Specifies the new position of the left side of the window, in client coordinates.
Specifies the new position of the top of the window, in client coordinates.
Specifies the new width of the window, in pixels.
Specifies the new height of the window, in pixels.
Specifies the window sizing and positioning flags. This parameter can be a combination of the following values.
If the function succeeds, the return value is nonzero, if the function fails, the return value is zero.
改变一个子窗口,弹出式窗口或顶层窗口的尺寸,位置和Z序。
子窗口,弹出式窗口,及顶层窗口根据它们在屏幕上出现的顺序排序、顶层窗口设置的级别最高,并且被设置为Z序的第一个窗口。
设置指针位置
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
获取或设置是否捕获鼠标
获取或设置是否显示图像信息
获取或设置操作框点的颜色
获取或设置操作框边框颜色
获取或设置放大图形的原始尺寸
获取或设置放大图像的倍数
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
获取或设置用于被操作的图像
获取或设置操作框点的颜色
获取或设置操作框线条的颜色
获取当前选中的区域
获取或设置放大图像的原图大小尺寸
获取或设置图像放大的倍数
获取或设置是否绘制操作框点
获取或设置是否限制鼠标操作区域
获取或设置是否绘制信息展示
获取或设置是否根据图像大小自动调整控件尺寸
获取当前是否绘制的有区域
获取当前是否开始绘制
获取当前操作框是否正在移动
获取或设置操作框是否锁定
响应四个按键实现精确移动
绘制操作框
绘制图像放大信息
清空所有操作
手动设置一个块选中区域
要选中区域
手动设置一个块选中区域
要选中区域的坐标
要选中区域的大小
手动设置一个块选中区域
要选中区域的x坐标
要选中区域的y坐标
要选中区域的宽度
要选中区域的高度
手动设置信息显示的位置
要显示的位置
手动设置信息显示的位置
要显示位置的x坐标
要显示位置的y坐标
获取操作框内的图像
结果图像
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.
鼠标结构信息
设置Hook
卸载Hook
鼠标状态枚举值
事件参数
Required designer variable.
Clean up any resources being used.
true if managed resources should be disposed; otherwise, false.
Required method for Designer support - do not modify
the contents of this method with the code editor.