隐藏平台warn,放开自有模块warn

This commit is contained in:
2023-05-16 17:24:07 +08:00
parent 67d599dce6
commit 1cb50e15d2
42 changed files with 66 additions and 28 deletions

View File

@@ -253,7 +253,9 @@ public class ElemeAuthRequest : DefaultAuthRequest
{
//就是比string往后一直加要好的优化容器
StringBuilder sb = new StringBuilder();
#pragma warning disable SYSLIB0021 //MD5CryptoServiceProvider已过时
using (MD5CryptoServiceProvider md5 = new MD5CryptoServiceProvider())
#pragma warning disable SYSLIB0021 //MD5CryptoServiceProvider已过时
{
//将输入字符串转换为字节数组并计算哈希。
byte[] data = md5.ComputeHash(Encoding.UTF8.GetBytes(willMd5Str));