character editing
This commit is contained in:
@@ -305,9 +305,8 @@ public class IndexModel : AdminPageModel
|
||||
if (response.IsSuccessStatusCode)
|
||||
{
|
||||
var bytes = await response.Content.ReadAsByteArrayAsync();
|
||||
var md5create = MD5.Create();
|
||||
var hash = md5create.ComputeHash(bytes);
|
||||
md5create.Dispose();
|
||||
using var md5c = MD5.Create();
|
||||
var hash = md5c.ComputeHash(bytes);
|
||||
return Convert.ToHexString(hash).ToLower();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user