qc 问题稽查修改
This commit is contained in:
@@ -58,19 +58,5 @@ public static class ImageHelper
|
||||
|
||||
}
|
||||
|
||||
static class IdentifierHelper
|
||||
{
|
||||
private static MD5 md5 = MD5.Create();
|
||||
|
||||
private static object lockObj = new object();
|
||||
|
||||
public static Guid CreateGuid(params string[] parts)
|
||||
{
|
||||
lock (lockObj)
|
||||
{
|
||||
return new Guid(md5.ComputeHash(Encoding.UTF8.GetBytes(string.Concat(parts))));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user