企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# QQLite.Framework.Tool.Utility 类 ## 注释 ~~~ 公共方法 ~~~ ## 语法 ~~~ public class Utility ~~~ ## 方法 | | 名称 | 说明 | | --- | --- | --- | | | [GetAcsrfToken](https://www.kancloud.cn/gxser1986/cqrobot/3016546) | GetAcsrfToken | | | [GetAntiCSRFToken](https://www.kancloud.cn/gxser1986/cqrobot/3016547) | GetAntiCSRFToken | | | [ToggleAllowUnsafeHeaderParsing](https://www.kancloud.cn/gxser1986/cqrobot/3016548) | Enable/disable useUnsafeHeaderParsing. http://o2platform.wordpress.com/2010/10/20/dealing-with-the-server-committed-a-protocol-violation-sectionresponsestatusline/ | | | [ClusterIdToExternalId](https://www.kancloud.cn/gxser1986/cqrobot/3016549) | ClusterIdToExternalId | | | [ExternalIdToClusterId](https://www.kancloud.cn/gxser1986/cqrobot/3016550) | ExternalIdToClusterId | | | [HexStrToBytes](https://www.kancloud.cn/gxser1986/cqrobot/3016551) | 16进制字符串转byte\[\] | | | [ToHex](https://www.kancloud.cn/gxser1986/cqrobot/3016552) | 转为16进制字符串 | | | [Md5](https://www.kancloud.cn/gxser1986/cqrobot/3016553) | 计算MD5 | | | [Md5ToString](https://www.kancloud.cn/gxser1986/cqrobot/3016554) | 计算MD5 | | | [Md5](https://www.kancloud.cn/gxser1986/cqrobot/3016555) | 计算MD5 | | | [Md5File](https://www.kancloud.cn/gxser1986/cqrobot/3016556) | 获取文件MD5 | | | [HtmlDiscode](https://www.kancloud.cn/gxser1986/cqrobot/3016557) | 恢复html中的特殊字符 | | | [SubString](https://www.kancloud.cn/gxser1986/cqrobot/3016558) | 获取字符串自定长度(UTF-8) | | | [SubStringGBK](https://www.kancloud.cn/gxser1986/cqrobot/3016559) | 获取字符串自定长度(GB2312) | | | [GetMacByNetworkInterface](https://www.kancloud.cn/gxser1986/cqrobot/3016560) | 通过NetBios获取MAC地址 | | | [ProtoBuf\_Serialize](https://www.kancloud.cn/gxser1986/cqrobot/3016561) | ProtoBuf 序列化 | | | [ProtoBuf\_Deserialize](https://www.kancloud.cn/gxser1986/cqrobot/3016562) | ProtoBuf 反序列化 | | | [DownLoadFile](https://www.kancloud.cn/gxser1986/cqrobot/3016564) | 下载文件 |