コード例 #1
0
 /// <summary>
 /// 校验对象Hash值
 /// </summary>
 /// <param name="obj"></param>
 /// <param name="hash"></param>
 /// <returns></returns>
 public static bool VerifyObjectHash(this object obj, string hash)
 {
     return(ObjectHashHelper.VerifyObjectHash(obj, hash));
 }
コード例 #2
0
 /// <summary>
 /// 获取对象Hash值
 /// </summary>
 /// <param name="obj"></param>
 /// <returns></returns>
 public static string CreateObjectHash(this object obj)
 {
     return(ObjectHashHelper.CreateObjectHash(obj));
 }