1 Star 0 Fork 25

菩提2008 / Fork

forked from yuzhyn / Fork 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

Fork

NuGet Fork Stars

Fork 是平时做 C# 软件的时候,封装整合各种轮子的一个工具库项目。

内容包括并不仅限于:各种常用数据处理方法,文件读写 加密 搜索,系统信息 API 操作,Winform窗口控件等等。

更多功能,不定期更新~

已添加到 Nuget 的库,可直接在 VS 中搜索安装,更多更新可使用仓库代码~

# 模块 DLL Nuget 支持 .NET 版本
1 核心库 Azylee.Core 1.0.0.8 4.0
2 Json库 Azylee.Jsons - 4.0
2 网络库 Azylee.YeahWeb - 4.0

关于作者

  • Email:yuzhyn@163.com
  • 在使用过程中,遇到问题可以发邮件,希望能帮助到你,更期待你的建议 ~~~

详细介绍

Azylee.Utils 工具组

目前 Azylee.utils 工具组包含以下部分:

  1. Azylee.Core : 核心
  2. Azylee.Json : Json 工具包
  3. Azylee.Update : 更新工具包
  4. Azylee.YeahWeb : 网络通信工具包
  5. Azylee.WinformSkin : Winform 样式和控件

Azylee.Core 模块:

  • 包含常用的工具方法
  • 无其他第三方引用
  • 编译后仅一个 dll 文件
● AppUtils:程序辅助工具
  ┣ AppInfoTool.cs              // 程序信息
  ┣ AppLaunchTool.cs            // 程序启动器
  ┣ AppSettleTool.cs            // (暂无)
  ┣ AppUnique.cs                // 程序单开验证
  ┣ PermissionTool.cs           // 权限信息
  ┗ StartupTool.cs              // 开机启动项
 
● DataUtils:数据处理
  ┣ CollectionUtils:集合处理
    ┣ ArrayTool.cs              // 数组格式化
    ┣ ListTool.cs               // 列表内容判断
    ┗ Ls.cs                     // 列表内容判断(ListTool)
    
  ┣ CompressionUtils:压缩处理
    ┗ Compression.cs            // 字节压缩
    
  ┣ CurrencyUtils:货币处理
    ┗ RMB.cs                    // 人民币格式化
    
  ┣ DateTimeUtils:日期时间处理
    ┣ ChineseHourTool.cs        // 中文时辰转换
    ┣ DateTimeConvert.cs        // 日期时间转换
    ┣ DateTimeTool.cs           // 日期时间处理
    ┣ DateTool.cs               // 日期处理
    ┣ TimerTool.cs              // 时间处理
    ┣ TimeStampTool.cs          // 时间戳
    ┣ UnixTimeTool.cs           // Unix 时间换算
    ┗ WeekDayTool.cs            // 时间 - 周 换算
   
  ┣ EncryptUtils:加密解密
    ┣ AesTool.cs                // AES 加密解密
    ┣ DesTool.cs                // DES 加密解密
    ┣ MD5OTool.cs               // MD5 原生算法
    ┗ MD5Tool.cs                // MD5 算法(依赖系统)
    
  ┣ EnumUtils:枚举处理
    ┗ FlagsEnumTool.cs          // 标志枚举运算
   
  ┣ GuidUtils:Guid 处理
    ┗ GuidTool.cs               // Guid 格式处理
    
  ┣ SerializeUtils:序列化工具
    ┗ SerializeTool.cs          // 模型序列化
   
  ┣ StringUtils:字符串处理
    ┣ Str.cs                    // 字符串处理(StringTool)
    ┣ StringArrayTool.cs        // 字符串数组处理
    ┗ StringTool.cs             // 字符串处理
   
  ┗ UnitConvertUtils:单位转换
    ┗ ByteConvertUtils.cs       // 计算机单位换算

● DelegateUtils:定义委托方法
  ┗ ProcessDelegateUtils:进度
    ┣ ProgressDelegate.cs       // 进度委托
    ┗ ProgressEventArgs.cs      // 进度委托参数

● DllUtils:Dll 加载
  ┗ DllInvokeTool.cs            // Dll 加载
  
● DrawingUtils:绘图
  ┣ ColorUtils:颜色
    ┗ ColorStyle.cs             // 颜色
    
  ┗ ImageUtils:图片
    ┣ IMG.cs                    // 图片处理
    ┗ ScreenCapture.cs          // 屏幕截图
    
● FormUtils:窗体工具
  ┗ FormManTool.cs              // 窗口管理器

● IOUtils:输入输出
  ┣ BinaryUtils:二进制文件
    ┗ BinaryFileTool.cs         // 二进制文件读写
    
  ┣ DirUtils:路径
    ┣ DirFinder.cs              // 目录搜索
    ┗ DirTool.cs                // 目录操作
    
  ┣ ExifUtils:图片信息
    ┣ ExifHelper.cs             // 图片信息查看
    ┗ ExifTagNames.cs           // 信息项
    
  ┣ FileManUtils:文件管理
    ┣ FileWatcher.cs            // 文件监控
    ┗ FileWatcherEventArgs.cs   // 文件监控事件
    
  ┣ FileUtils:文件
    ┣ FileCodeTool.cs           // 文件特征码
    ┣ FileCompressTool.cs       // 文件压缩
    ┣ FileEncryptTool.cs        // 文件加密解密
    ┣ FileFinder.cs             // 文件搜索
    ┣ FilePackageModel.cs       // 文件打包模型
    ┣ FilePackageTool.cs        // 文件打包
    ┗ FileTool.cs               // 文件操作
    
  ┣ ImageUtils:图片
    ┣ AffineTool.cs             // 图片仿射
    ┣ BarCodeToHTML.cs          // 网页一维码
    ┣ CaptchaHelper.cs          // 验证码
    ┣ IconTool.cs               // 生成 Icon
    ┣ ImageHelper.cs            // 缩略图
    ┣ ImageSpliter.cs           // 图片分割
    ┣ RotateImageTool.cs        // 图像旋转
    ┣ ScreenCapture.cs          // 截屏
    ┗ ThunbnailTool.cs          // 缩略图
    
  ┣ PathUtils:路径
    ┗ AppDirTool.cs             // 程序目录操作
    
  ┣ TxtUtils:文本
    ┣ ConfigTool.cs             // 读取配置
    ┣ IniTool.cs                // 操作 ini 配置文件
    ┣ TxtTool.cs                // 操作文本文件
    ┗ XmlTool.cs                // (暂无)

● LogUtils:日志
  ┣ SimpleLogUtils:简单日志
    ┣ Log.cs                    // 日志工具
    ┣ LogLevel.cs               // 日志分级
    ┣ LogModel.cs               // 日志模型
    ┗ LogType.cs                // 日志分类
  
  ┣ StatusLogUtils:状态日志
    ┣ StatusLog.cs              // 状态日志工具
    ┗ StatusLogModel.cs         // 状态日志模型
    
● NetUtils:网络
  ┣ NetAddressUtils:网络地址
    ┗ DNSTool.cs                // DNS地址
    
  ┣ WifiManUtils:WIFI控制
    ┣ Wlan.cs                   // WLAN API和参数
    ┣ WlanClient.cs             // WLAN 实例
    ┗ WlanTool.cs               // 简化的WLAN工具
    
  ┣ IPFormatter.cs              // IP 格式化检查
  ┣ MacFormatter.cs             // MAC 格式化检查
  ┣ NetConnectionInfo.cs        // 网络连接信息
  ┣ NetFlowService.cs           // 网络流量监控
  ┣ NetflowTool.cs              // 网络流量监控
  ┣ NetPacketTool.cs            // 网络数据包工具
  ┣ NetProcessInfo.cs           // 联网连接信息
  ┣ NetProcessTool.cs           // 联网连接读取
  ┣ NetcardControlTool.cs       // 网卡适配器操作
  ┗ PingTool.cs                 // 网络连通
  
● ProcessUtils:进程
  ┣ ProcessInfoTool.cs          // 进程信息读取
  ┣ ProcessStarter.cs           // 进程启动器
  ┗ ProcessTool.cs              // 进程操作
  
● ProxyUtils:代理
  ┣ SimpleProxyUtils:简单代理
    ┣ RunMode.cs                // 运行模式
    ┗ SimpleProxyTool.cs        // 代理工具
    
● ReflectionUtils:反射
  ┣ AttributeUtils:反射属性
    ┣ AttributeTool.cs          // 加载属性
    ┣ ControlAttribute.cs       // (暂无)
    ┣ ControlAttributeEvent.cs  // (暂无)
    ┗ CustomAttributeHelper.cs  // 加载属性
    
  ┣ ReflectionCoreUtils:反射处理
    ┣ DomainTool.cs             // 应用程序域
    ┗ SimpleReflection.cs       // 反射执行

● TaskUtils:任务
  ┗ TaskSupport.cs              // 辅助启动线程任务
  
● ThreadUtils:线程
  ┣ SleepUtils:线程休眠
    ┣ Sleep.cs                  // 休眠(SleepTool)
    ┗ SleepTool.cs              // 休眠

● VersionUtils:版本
  ┗ VersionTool.cs              // 版本处理
  
● WindowsUtils:系统
  ┣ AdminUtils:管理员
    ┣ AdminTool.cs              // 管理员账号
    ┗ WindowsAccountModel.cs    // 系统账号模型
    
  ┣ APIUtils:API
    ┣ ApplicationAPI.cs         // 应用程序:可唤起指定进程的窗口
    ┣ ExplorerAPI.cs            // Explorer:可打开指定文件夹窗口
    ┣ PermissionAPI.cs          // 执行权限
    ┣ SystemSleepAPI.cs         // 系统睡眠
    ┣ WindowsAPI.cs             // 窗口信息
    ┣ WindowsDrawerAPI.cs       // 桌面绘图
    ┗ WindowsHotKeyAPI.cs       // 热键
    
  ┣ BrowserUtils:浏览器
    ┗ BrowserSelector.cs        // 浏览器选择
    
  ┣ ClipboardUtils:剪贴板
    ┗ ClipboardTool.cs          // 剪贴板
    
  ┣ CMDUtils:API
    ┣ CMDNetstatTool.cs         // CMD网络指令包装
    ┣ CMDProcessTool.cs         // CMD进程启动工具
    ┗ CMDServiceTool.cs         // CMD系统服务工具
    
  ┣ ConsoleUtils:控制台输出
    ┣ Cons.cs                   // 控制台输出工具
    ┗ ConsColorMode.cs          // 控制台颜色模式
    
  ┣ HookUtils:Hook
    ┣ KeyboardHook.cs           // 键盘钩子
    ┣ KeyboardHookHelper.cs     // (暂无)
    ┗ UserActivityHook.cs       // 用户动作监控
    
  ┣ InfoUtils:信息
    ┣ ComputerInfoTool.cs       // 计算机信息
    ┣ ComputerStatusTool.cs     // 计算机性能计数器
    ┣ ComputerType.cs           // 计算机类型
    ┣ ComputerTypeTool.cs       // 获取计算机类型
    ┣ NetcardInfoTool.cs        // 网卡信息
    ┣ OSInfoTool.cs             // 操作系统
    ┣ OSName.cs                 // 操作系统清单
    ┣ PatchInfoTool.cs          // 计算机补丁
    ┣ SoftwareInfo.cs           // 软件信息
    ┗ SoftwareTool.cs           // 已装软件列表
    
  ┣ RegisterUtils:注册表
    ┗ RegisterTool.cs           // 操作注册表
    
  ┣ ShareUtils:共享
    ┗ ShareInfoTool.cs           // 计算机共享
  
  ┗ ShortcutUtils:快捷方式
    ┗ ShortcutTool.cs           // 操作快捷方式

Azylee.Json 模块:

依赖:Azylee.Core

  • 完善的 Json 扩展处理方法
  • 引用 Newtonsoft.Json 库做基础操作
● Jsons
  ┣ ConvertJson.cs              // Json 原生转换
  ┣ Json.cs                     // Json 快捷处理工具
  ┗ JsonFormat.cs               // Json 显示格式化

Azylee.Update 模块:

依赖:Azylee.Core、Azylee.Json、Azylee.YeahWeb

  • 为exe程序提供升级支持
● UpdateUtils:数据处理
  ┣ AppUpdateInfo.cs            // 更新配置模型
  ┗ AppUpdateTool.cs            // 更新工具

Azylee.YeahWeb 模块:

依赖:Azylee.Core、Azylee.Json

  • 提供网络工具
● BaiDuWebAPI:面向百度开发
  ┣ GPSAPI:GPS API
    ┣ GPSConverter.cs           // 设备GPS定位转换为BaiduGPS信息
    ┣ GPSInfoModel.cs           // GPS 模型
    ┣ GPSInfoTool.cs            // GPS 获取信息
    ┣ GPSInfoWebModel.cs        // GPS Web 返回信息
    ┗ GPSPointWebModel.cs       // GPS 点模型
    
  ┗ IPLocationAPI:IP定位
    ┣ IPLocationModel.cs        // 位置模型
    ┣ IPLocationTool.cs         // 获取 IP 定位
    ┗ IPLocationWebModel.cs     // API 返回位置模型
  
● EmailUtils:邮件
  ┗ EmailTool.cs                // 邮件工具
  
● FTPUtils:FTP工具
  ┗ FTPTool.cs                  // FTP工具
  
● HttpUtils:Http工具
  ┣ MethodUtils:方法
    ┣ ExtendUtils:扩展
      ┗ HeaderTool.cs           // 请求头处理
      
    ┣ GetUtils:GET
      ┗ GetToolPlus.cs          // 增强 Get 工具
    
    ┗ PostUtils:POST
      ┗ PostToolPlus.cs         // 增强 Post 工具
    
  ┣ Models:模型
    ┣ HttpContentTypes.cs       // 内容类型
    ┣ HttpMethodTypes.cs        // 方法类型
    ┗ UserAgents.cs             // Agent

  ┣ HttpTool.cs                 // 常规 Http 工具
  ┗ HttpToolPlus.cs             // 增强 Http 工具(如携带 Cookie)
  
● SocketUtils:Socket工具
  ┣ TcpUtils:Tcp工具
    ┣ TcpClientDictionary.cs    // 已连接终端
    ┣ TcpDataConverter.cs       // 通信模型转换
    ┣ TcpDataModel.cs           // Tcp 传输数据模型
    ┣ TcpDelegate.cs            // Tcp 工具 委托声明
    ┣ TcppClient.cs             // Tcp 客户端
    ┣ TcppServer.cs             // Tcp 服务端
    ┗ TcpStreamHelper.cs        // Tcp 流数据处理辅助类
    
  ┗ SocketTool.cs               // Socket工具

Azylee.WinformSkin 模块:

——暂无介绍


.其他.

Star History

Star History Chart

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

简介

C#工具包,C#工具类,常用方法,系统API,文件处理、加密解密、Winform美化(C# Tools) 展开 收起
C#
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C#
1
https://gitee.com/PuTi2008/Fork.git
git@gitee.com:PuTi2008/Fork.git
PuTi2008
Fork
Fork
master

搜索帮助