Sockets异步通信源码
使用Begin...End..异步方法
命名空间:Wodsoft.Net.Sockets
Sockets异步通信源码
常用类:
TCPClient
TCPClientEventArgs
TCPListener
TCPListenerClient
TCPListenerEventArgs
UDPService
UDPServiceEventArgs
Socket异步通信封装
Socket异步通信封装
使用Begin...End...异步方法
该类库常用类:
TCPClient
TCPListener
TCPListenerClient
UDPService
QuickRAR V1.0
.Net 解压RAR的
目前只有解压,没有压缩
而且不能直接内存读写
只能解压到磁盘上……
QuickZIP V1.2【SharpZipLib】
SharpZipLib的简化类库
即使是新手,只要懂些类库知识就能应用!
轻易读写ZIP文件
直接用内存来读写ZIP文件!
=============================
本类库用VB.Net预言编写
QuickZIP V1.1
''' <summary>
''' 打开ZIP文件
''' </summary>
''' <param name="FileName">ZIP文件地址(没有的会自动创建)</param>
''' <remarks></remarks>
Sub New(ByVal FileName As String)
''' <summary>
''' 实例化QuickZIP,从ZIPFile继承
''' </summary>
''' <param name="ZIPFile">ZIPFile</param>
''' <remarks></remarks>
Sub New(ByVal ZIPFile As ZipFile)
''' <summary>
''' 解压缩文件
''' </summary>
''' <param name="Name">文件名(可以是包含文件夹的地址)</param>
''' <param name="Directory">解压到的目录</param>
''' <remarks></remarks>
Sub Extract(ByVal Name As String, ByVal Directory As String)
''' <summary>
''' 解压缩所有文件至文件夹
''' </summary>
''' <param name="Directory">解压到的文件夹</param>
''' <remarks></remarks>
Sub ExtractAll(ByVal Directory As String)
''' <summary>
''' 从ZIP文件内删除文件
''' </summary>
''' <param name="Name">文件名</param>
''' <remarks></remarks>
Sub Del(ByVal Name As String)
''' <summary>
''' 向ZIP文件添加文件或文件夹
''' </summary>
''' <param name="FileName">文件或文件夹地址</param>
''' <remarks></remarks>
Sub Add(ByVal FileName As String)
''' <summary>
''' 获取ZIP文件的MD5码
''' </summary>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
ReadOnly Property MD5() As String
''' <summary>
''' 获取ZIP文件内的文件MD5码
''' </summary>
''' <param name="Name">文件名</param>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
ReadOnly Property MD5(ByVal Name As String) As String
''' <summary>
''' 直接获取或设置ZIP文件内的文件Byte值
''' </summary>
''' <param name="Name">文件名(可包含目录号“/”)</param>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
Default Property FileByte(ByVal Name As String) As Byte()
FastXML V1.11
FastXML发布1.11版
增加选择功能,修正1.1版一个无意义Property!
''' <summary>
''' 按元素名称选择元素
''' </summary>
''' <param name="Key">关键词</param>
''' <param name="Method">选择方式</param>
ReadOnly Property SelectElement(ByVal Key As String, ByVal Method As FastXML.Method) As XMLNodeList
''' <summary>
''' 按元素包含元素的值选择元素
''' </summary>
''' <param name="Name">元素名称</param>
''' <param name="Values">元素值</param>
ReadOnly Property SelectElementInElement(ByVal Name As String, ByVal Values As String) As XMLNodeList
<summary>
按元素包含标记选择元素
</summary>
<param name="Key">关键词</param>
<param name="Method">选择方式</param>
ReadOnly Property SelectElementInMark(ByVal Key As String, ByVal Method As FastXML.Method) As XMLNodeList
<summary>
按元素包含标记值选择元素
</summary>
<param name="Name">标记名称</param>
<param name="Values">标记值</param>
ReadOnly Property SelectElementInMark(ByVal Name As String, ByVal Values As String) As XMLNodeList
根据这些功能,有选择的选出元素,得到XMLNodeList类
这个类还可以再筛选元素!
<summary>
筛选元素
</summary>
<param name="Key">关键词</param>
<param name="Method">选择方式</param>
ReadOnly Property SelectElement(ByVal Key As String, ByVal Method As FastXML.Method) As XMLNodeList
筛选后又得出XMLNodeList
==================================================================
希望各位新手喜欢
FastXML V1.1
FastXML发布1.1版
增加选择功能!
''' <summary>
''' 按元素名称选择元素
''' </summary>
''' <param name="Key">关键词</param>
''' <param name="Method">选择方式</param>
ReadOnly Property SelectElement(ByVal Key As String, ByVal Method As FastXML.Method) As XMLNodeList
<summary>
按包含元素的值选择元素
</summary>
<param name="Name">元素名称</param>
<param name="Values">元素值</param>
ReadOnly Property SelectElement(ByVal Name As String, ByVal Values As String) As XMLNodeList
<summary>
按元素包含标记选择元素
</summary>
<param name="Key">关键词</param>
<param name="Method">选择方式</param>
ReadOnly Property SelectElementInMark(ByVal Key As String, ByVal Method As FastXML.Method) As XMLNodeList
<summary>
按元素包含标记值选择元素
</summary>
<param name="Name">标记名称</param>
<param name="Values">标记值</param>
ReadOnly Property SelectElementInMark(ByVal Name As String, ByVal Values As String) As XMLNodeList
根据这些功能,有选择的选出元素,得到XMLNodeList类
这个类还可以再筛选元素!
<summary>
筛选元素
</summary>
<param name="Key">关键词</param>
<param name="Method">选择方式</param>
ReadOnly Property SelectElement(ByVal Key As String, ByVal Method As FastXML.Method) As XMLNodeList
筛选后又得出XMLNodeList
==================================================================
希望各位新手喜欢
FastXML_1.0.0.0
无聊写了个DLL,FastXML,方便新手读写XML
很方便
RSL类库文件及说明文档
RSL类库文件及说明文档