Ejemplo n.º 1
0
 /// <summary>
 /// 检查MD5码是否匹配
 /// </summary>
 /// <param name="fileinfo"></param>
 /// <param name="md5">指定的MD5码</param>
 /// <returns>是否匹配</returns>
 public static bool CheckMD5(this FileInfo fileinfo, string md5)
 => fileinfo.CheckMD5(md5, out var _);