/// <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)); }
/// <summary> /// 获取对象Hash值 /// </summary> /// <param name="obj"></param> /// <returns></returns> public static string CreateObjectHash(this object obj) { return(ObjectHashHelper.CreateObjectHash(obj)); }