摘要:
1.工具类 using RabbitMQ.Client; using RabbitMQ.Client.Events; using System; using System.Collections.Generic; using System.Linq; using System.Text; using 阅读全文
posted @ 2022-01-13 11:10
AingHub
阅读(52)
评论(0)
推荐(0)
摘要:
RSA加密解密 Nuget 引入 XC.RSAUtil 博客园参考文章1 生成公私钥对 // 生成公私钥对 // XML Console.WriteLine(RsaKeyGenerator.XmlKey(2048)[0]); Console.WriteLine("++++++++++++++++++ 阅读全文
posted @ 2022-01-13 09:55
AingHub
阅读(117)
评论(0)
推荐(0)
摘要:
//数据帧的解析代码: static string byteToString(byte[] buffer, int count, Socket client) { int type = buffer[0] & 0xF; if (type == 0x1) //文本 { int mask = buffe 阅读全文
posted @ 2022-01-13 09:40
AingHub
阅读(225)
评论(0)
推荐(0)
摘要:
生成18位订单号 DateTime.Now.ToUniversalTime().Ticks - 537525800000000000 示例值 100000064399971543 获取时间错(秒) (DateTime.Now.ToUniversalTime().Ticks - 62135596800 阅读全文
posted @ 2022-01-13 09:37
AingHub
阅读(2880)
评论(0)
推荐(0)
摘要:
using System; using System.Text; using System.Text.RegularExpressions; using System.Web; public class VerificationHelper { /// <summary> /// 检测用户名格式是否 阅读全文
posted @ 2022-01-13 09:35
AingHub
阅读(87)
评论(0)
推荐(0)

浙公网安备 33010602011771号